Complex.Equals Method (Complex) : Complex « Data Types « VB.Net






Complex.Equals Method (Complex)

 
Imports System.Numerics
Imports System
Module Example
   Public Sub Main()

        Dim c1 As New System.Numerics.Complex(3.33333, .142857)
        Dim c2 As New System.Numerics.Complex(10/3, 1/7)
        Console.WriteLine("{0} = {1}: {2}", c1, c2, c1.Equals(c2))       
   End Sub
End Module

   
  








Related examples in the same category

1.Create Complex structure using real and imaginary values.
2.Complex Structure Represents a complex number.
3.Assign a Double to a complex number
4.Cast a Decimal to a complex number
5.Assign the return value of a method to a Complex variable
6.Assign the value returned by an operator to a Complex variable
7.Instantiate a complex number from its polar coordinates
8.Compare two Complex number values
9.Complex.Sqrt
10.Complex Number calculation
11.Complex.Pow
12.Assign a Double to a complex number
13.Cast a Decimal to a complex number.
14.Assign the return value of a method to a Complex variable.
15.Assign the value returned by an operator to a Complex variable.
16.Instantiate a complex number from its polar coordinates.
17.Complex.Log
18.Create new Complex number from Double.MinValue and Double.MaxValue
19.Complex.Abs Method Gets the absolute value (or magnitude) of a complex number.
20.Complex.Acos Method Returns the angle that is the arc cosine of the specified complex number.
21.Complex.Add Method Adds two complex numbers and returns the result.
22.Complex Addition Operator
23.Complex number array
24.Complex.Asin Method Returns the angle that is the arc sine of the specified complex number.
25.Complex.Atan Method Returns the angle that is the arc tangent of the specified complex number.
26.Complex.Conjugate Method Computes the conjugate of a complex number and returns the result.
27.Complex.Divide Method Divides one complex number by another and returns the result.
28.Compare the Complex values
29.Complex.Exp Method Returns e raised to the power specified by a complex number.
30.Complex.FromPolarCoordinates Creates a complex number from a point's polar coordinates.
31.Complex.Imaginary Property Gets the imaginary component of the current Complex object.
32.Complex.ImaginaryOne Returns a Complex with a real number equal to zero and an imaginary number equal to one.
33.Complex.Multiply Method Returns the product of two complex numbers.
34.Complex.Negate Method Returns the additive inverse of a specified complex number.
35.Complex.Reciprocal Method Returns the multiplicative inverse of a complex number.
36.Complex.Subtract Method Subtracts one complex number from another and returns the result.
37.Complex.ToString Method (IFormatProvider)
38.Complex number format: "F2", "N2", "G5"
39.Complex.ToString Method
40.Complex.Zero Field Returns a Complex with a real number equal to zero and an imaginary number equal to zero.
41.An explicit conversion of a BigInteger value to a complex number.
42.An explicit conversion of a Decimal value to a complex number.
43.Implicit conversion of an unsigned byte to a complex number.
44.Implicit conversion of a double-precision floating-point number to a complex number.
45.Implicit conversion of a 16-bit signed integer to a complex number.
46.Implicit conversion of a 32-bit signed integer to a complex number.
47.Implicit conversion of a 64-bit signed integer to a complex number.
48.Implicit conversion of a signed byte to a complex number.
49.Implicit conversion of a single-precision floating-point number to a complex number.
50.Implicit conversion of a 16-bit unsigned integer to a complex number.
51.Implicit conversion of a 32-bit unsigned integer to a complex number.
52.Implicit conversion of a 64-bit unsigned integer to a complex number.