Complex Structure |
Namespace: Meta.Numerics
The Complex type exposes the following members.
Name | Description | |
---|---|---|
Conjugate |
Gets the complex conjugate of the complex number.
| |
Im |
Gets the imaginary part of the complex number.
| |
Re |
Gets the real part of the complex number.
|
Name | Description | |
---|---|---|
Equals(Object) |
Determines whether the given object represents the same complex number.
(Overrides ValueTypeEquals(Object).) | |
Equals(Complex) |
Determines whether the given complex number is the same.
| |
GetHashCode |
Returns a hash code for the complex number.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsNaN |
Determines if the given complex number is not-a-number.
| |
ToString |
Produces a string representation of the complex number.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Addition(Double, Complex) |
Computes the sum of a real and a complex number.
| |
Addition(Complex, Complex) |
Adds two complex numbers.
| |
Addition(Complex, Double) |
Computes the sum of a complex and a real number.
| |
Division(Complex, Complex) |
Divides two complex numbers.
| |
Division(Complex, Double) |
Divides a complex number by a real number.
| |
Equality |
Tests the equality of two complex numbers.
| |
(Complex to Double) |
Converts the complex number to a double-precision real number.
| |
(Double to Complex) |
Converts a double-precision real number to a complex number.
| |
(Complex to Complex) |
Converts a System.Numerics.Complex number to a Meta.Numerics.Complex number.
| |
(Complex to Complex) |
Converts a Meta.Numerics.Complex number to a System.Numerics.Complex number.
| |
Inequality |
Tests the inequality of two complex numbers.
| |
Multiply(Double, Complex) |
Multiplies a complex number by a real number.
| |
Multiply(Complex, Complex) |
Multiplies two complex numbers.
| |
Multiply(Complex, Double) |
Multiplies a real number by a complex number.
| |
Subtraction |
Subtracts the second complex number from the first.
| |
UnaryNegation |
Negates a complex number.
|
Name | Description | |
---|---|---|
I |
Gets the square root of negative one.
| |
One |
Gets one as a complex number.
| |
Zero |
Gets zero as a complex number.
|
Version 4.0 of the .NET Framework introduced a Complex structure equivalent to this one. To maintain compatibility with earlier versions of the .NET Framework, Meta.Numerics maintains its own Complex structure. The Meta.Numerics complex type and the .NET Framework complex type can be used interchangably, because Meta.Numerics defines an implicit cast between them.