The DoubleComplex type exposes the following members.

Constructors

  NameDescription
Public methodDoubleComplex(Double)
Constructs a DoubleComplex instance with the specified real part. The imaginary part is set to 0.0.
Public methodDoubleComplex(Single)
Constructs a DoubleComplex instance with the specified real part. The imaginary part is set to 0.0.
Public methodDoubleComplex(String)
Constructs a DoubleComplex instance from a string representation of the form real,imag or (real,imag).
Public methodDoubleComplex(FloatComplex)
Constructs a DoubleComplex instance from a FloatComplex instance.
Public methodDoubleComplex(Double, Double)
Constructs a DoubleComplex instance with the specified real and imaginary parts.
Public methodDoubleComplex(Single, Single)
Constructs a DoubleComplex instance with the specified real and imaginary parts.
Public methodDoubleComplex(String, NumberStyles)
Constructs a new DoubleComplex instance from a given string representation using the specified style.

Methods

  NameDescription
Public methodStatic memberAdd(Double, DoubleComplex)
Returns the sum of a real and a complex number.
Public methodStatic memberAdd(DoubleComplex, DoubleComplex)
Returns the sum of two complex numbers.
Public methodStatic memberAdd(DoubleComplex, Double)
Returns the sum of a complex number and a real number.
Public methodStatic memberArg
Returns the argument (or phase) of a complex number.
Public methodStatic memberConj
Returns the conjugate of a complex number.
Public methodStatic memberDivide(Double, DoubleComplex)
Returns the quotient of dividing a real number by a complex number.
Public methodStatic memberDivide(DoubleComplex, DoubleComplex)
Returns the quotient of dividing one complex number by another.
Public methodStatic memberDivide(DoubleComplex, Double)
Returns the quotient of dividing a complex number by a real number.
Public methodEquals
Tests for equality of this complex number and another complex number.
(Overrides ValueType..::..Equals(Object).)
Public methodStatic memberFromPolar
Returns a complex number in Cartesian form from the supplied polar coordinates.
Public methodGetHashCode
Returns an integer hash code for this complex number.
(Overrides ValueType..::..GetHashCode()()()().)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodStatic memberMultiply(Double, DoubleComplex)
Returns the product of a real and a complex number.
Public methodStatic memberMultiply(DoubleComplex, DoubleComplex)
Returns the product of two complex numbers.
Public methodStatic memberMultiply(DoubleComplex, Double)
Returns the product of a complex number and a real.
Public methodNaNEquals
Tests for equality of this complex number and another complex number.
Public methodStatic memberNegate
Returns the negation of a complex number.
Public methodStatic memberNorm
Returns the norm (or modulus) of a complex number.
Public methodStatic memberParse(String)
Constructs a DoubleComplex instance from a string representation of the form real,imag or (real,imag).
Public methodStatic memberParse(String, NumberStyles)
Constructs a new DoubleComplex instance from a given string representation using the specified style.
Public methodStatic memberSubtract(Double, DoubleComplex)
Returns the difference of a real number and a complex number.
Public methodStatic memberSubtract(DoubleComplex, DoubleComplex)
Returns the difference of two complex numbers.
Public methodStatic memberSubtract(DoubleComplex, Double)
Returns the difference of a complex number and a real number.
Public methodToString()()()()
Returns a formatted string representation of this complex number of the form (real,imag).
(Overrides ValueType..::..ToString()()()().)
Public methodToString(String)
Returns a formatted string representation of this complex number of the form (real,imag) The real numbers real and imag are formatted according to the input format string formatString.

Operators

  NameDescription
Public operatorStatic memberAddition(Double, DoubleComplex)
Returns the sum of a real and a complex number.
Public operatorStatic memberAddition(DoubleComplex, DoubleComplex)
Returns the sum of two complex numbers.
Public operatorStatic memberAddition(DoubleComplex, Double)
Returns the sum of a complex number and a real number.
Public operatorStatic memberDivision(Double, DoubleComplex)
Returns the quotient of dividing a real number by a complex number.
Public operatorStatic memberDivision(DoubleComplex, DoubleComplex)
Returns the quotient of dividing one complex number by another.
Public operatorStatic memberDivision(DoubleComplex, Double)
Returns the quotient of dividing a complex number by a real number.
Public operatorStatic memberEquality
Tests for equality of two complex numbers.
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(Double to DoubleComplex)
Implicitly converts a double-precision floating point number into a DoubleComplex instance. The imaginary part is set to 0.0.
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(FloatComplex to DoubleComplex)
Implicitly converts a FloatComplex instance into a DoubleComplex instance.
Public operatorStatic memberInequality
Tests for inequality of two complex numbers.
Public operatorStatic memberMultiply(Double, DoubleComplex)
Returns the product of a real and a complex number.
Public operatorStatic memberMultiply(DoubleComplex, DoubleComplex)
Returns the product of two complex numbers.
Public operatorStatic memberMultiply(DoubleComplex, Double)
Returns the product of a complex number and a real.
Public operatorStatic memberSubtraction(Double, DoubleComplex)
Returns the difference of a real number and a complex number.
Public operatorStatic memberSubtraction(DoubleComplex, DoubleComplex)
Returns the difference of two complex numbers.
Public operatorStatic memberSubtraction(DoubleComplex, Double)
Returns the difference of a complex number and a real number.
Public operatorStatic memberUnaryNegation
Returns the negation of a complex number.

Fields

  NameDescription
Public fieldImag
The imaginary part of this complex number.
Public fieldReal
The real part of this complex number.

See Also