A double-precision complex number representation.
Constructor | Description | ||||
Full Usage:
Complex(real, imaginary)
Parameters:
float
-
imaginary : float
-
|
Create a complex number from a real and an imaginary component
|
||||
|
Create a complex number based on an existing complex number
|
||||
Full Usage:
Complex(s)
Parameters:
string
-
The string to create the Complex from.
|
Created a
|
Instance member | Description | ||||
|
Clone the complex number
|
||||
Full Usage:
this.CompareTo
Parameters:
obj
-
Returns: int
Modifiers: abstract |
Compare to other complex numbers or real numbers
|
||||
Full Usage:
this.Equals
Parameters:
Complex
-
obj to compare present ComplexDouble to.
Returns: bool
Returns true if the variable is the same as the ComplexDouble variable
|
Check if
The
|
||||
Full Usage:
this.Equals
Parameters:
ComplexFloat
-
obj to compare present ComplexDouble to.
Returns: bool
Returns true if the variable is the same as the ComplexDouble variable
|
Check if
The
|
||||
Full Usage:
this.Equals
Parameters:
obj
-
obj to compare present ComplexDouble to.
Returns: bool
Returns true if the variable is the same as the ComplexDouble variable
Modifiers: abstract |
Check if
The
|
||||
Full Usage:
this.GetArgument
Returns: float
|
The argument (radians) of the complex number
|
||||
|
Get the conjugate of the complex number
|
||||
Full Usage:
this.GetHashCode
Returns: int
Modifiers: abstract |
Get the hash code of the complex number
|
||||
Full Usage:
this.GetModulus
Returns: float
|
The modulus (length) of the complex number
|
||||
Full Usage:
this.GetModulusSquared
Returns: float
|
The squared modulus (length^2) of the complex number
|
||||
Full Usage:
this.Imag
|
The imaginary component of the complex number |
||||
Full Usage:
this.IsInfinity
Returns: bool
True if either the real or imaginary components are infinite, false otherwise.
|
Tests whether the the complex number is infinite.
|
||||
Full Usage:
this.IsNaN
Returns: bool
True if either the real or imaginary components are NaN, false otherwise.
|
Tests whether the the complex number is not a number.
|
||||
Full Usage:
this.Normalize
|
Scale the complex number to 1. |
||||
Full Usage:
this.Real
|
The real component of the complex number |
||||
Full Usage:
this.ToString
Returns: string
The string representation of the value of this instance.
Modifiers: abstract |
A string representation of this
|
||||
Full Usage:
this.ToString
Parameters:
string
-
A format specification.
Returns: string
The string representation of the value of this instance as specified by format.
|
A string representation of this
|
||||
Full Usage:
this.ToString
Parameters:
IFormatProvider
-
An IFormatProvider that supplies culture-specific formatting information.
Returns: string
The string representation of the value of this instance as specified by provider.
|
A string representation of this
|
||||
Full Usage:
this.ToString
Parameters:
string
-
A format specification.
formatProvider : IFormatProvider
-
An IFormatProvider that supplies culture-specific formatting information.
Returns: string
The string representation of the value of this instance as specified by format and provider.
|
A string representation of this
|
Static member | Description |
Multiply a complex number by a real
|
|
Multiply a real by a complex number
|
|
Multiply two complex numbers together
|
|
Add a complex number to a real
|
|
Add a real to a complex number
|
|
Add to complex numbers
|
|
Subtract a real from a complex number
|
|
Subtract a complex number from a real
|
|
Subtract two complex numbers
|
|
Divide a complex number by a real number
|
|
Divide a complex number by a complex number
|
|
|
|
Are these two complex numbers different?
|
|
Are these two complex numbers equivalent?
|
|
This operator doesn't do much. :-)
|
|
Negate the complex number
|
|
Full Usage:
Complex.FromModulusArgument(modulus, argument)
Parameters:
float
-
argument : float
-
Returns: Complex
|
Create a complex number from a modulus (length) and an argument (radian)
|
Full Usage:
Complex.FromRealImaginary(real, imaginary)
Parameters:
float
-
imaginary : float
-
Returns: Complex
|
Create a complex number from a real and an imaginary component
|
Represents the result of sqrt( -1 )
|
|
|
Determine whether two complex numbers are almost (i.e. within the tolerance) equivalent.
|
|
Represents the largest possible value of Complex.
|
|
Represents the smallest possible value of Complex.
|
|
|
|
Represents One
|
|
Creates a
|
|
Represents zero
|
|
|
|
|
|
|