The Complex type exposes the following members.

Constructors

  NameDescription
ComplexOverloaded.

Methods

  NameDescription
AddOverloaded.
ApproxEqualOverloaded.
Clone
Creates an exact copy of this Complex object.
Cos
Calculates Cosine value of the complex number.
DivideOverloaded.
Equals
Returns a value indicating whether this instance is equal to the specified object.
(Overrides ValueType..::.Equals(Object).)
Exp
Calculates exponent (e raised to the specified power) of a complex number.
GetHashCode
Returns the hashcode for this instance.
(Overrides ValueType..::.GetHashCode()()().)
GetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Log
Calculates natural (base e) logarithm of a complex number.
MultiplyOverloaded.
Negate
Negates a complex number.
Parse
Converts the specified string to its Complex equivalent.
Sin
Calculates Sine value of the complex number.
Sqrt
Calculates square root of a complex number.
SubtractOverloaded.
Tan
Calculates Tangent value of the complex number.
ToString
Returns a string representation of this object.
(Overrides ValueType..::.ToString()()().)
TryParse
Try to convert the specified string to its Complex equivalent.

Operators

  NameDescription
AdditionOverloaded.
DivisionOverloaded.
Equality
Tests whether two specified complex numbers are equal.
ExplicitOverloaded.
Inequality
Tests whether two specified complex numbers are not equal.
MultiplyOverloaded.
SubtractionOverloaded.
UnaryNegation
Negates the complex number.

Fields

  NameDescription
I
A double-precision complex number that represents the squere root of (-1).
Im
Imaginary part of the complex number.
One
A double-precision complex number that represents one.
Re
Real part of the complex number.
Zero
A double-precision complex number that represents zero.

Properties

  NameDescription
Magnitude
Magnitude value of the complex number.
Phase
Phase value of the complex number.
SquaredMagnitude
Squared magnitude value of the complex number.

See Also