return Complex |
The result of the addition. |
Complex other |
The other complex number to add. |
Type Complex
Namespace MathNet.Numerics
Parent ValueType
Interfaces IFormattable, IEquatable<Complex>, IPrecisionSupport<T>
The class
Complexprovides all elementary operations on complex numbers. All the operators+,-,*,/,==,!=are defined in the canonical way. Additional complex trigonometric functions such as Cosine, ... are also provided. Note that theComplexstructures has two special constant values NaN andInfinity.In order to avoid possible ambiguities resulting from a
Complex(double, double)constructor, the static methodsWithRealImaginary and WithModulusArgumentare provided instead.
Complex x = Complex.FromRealImaginary(1d, 2d); Complex y = Complex.FromModulusArgument(1d, Math.Pi); Complex z = (x + y) / (x - y);For mathematical details about complex numbers, please have a look at the
return bool |
Returns true if the two objects are the same object, or if their corresponding
real and imaginary components are equal, false otherwise. |
Complex other |
The complex number to compare to with. |
Complex (exp(x), E^x).
return Complex |
The exponential of this complex number. |
Complex (Base E).
return Complex |
The natural logarithm of this complex number. |
Complex
return Complex |
The square of this complex number. |
Complex
return Complex |
The square root of this complex number. |
return bool |
|
string value |
|
Complex& result |
return bool |
|
string value |
|
IFormatProvider formatProvider |
|
Complex& result |
Complex from its modulus and
argument.
return Complex |
A new Complex from the given values. |
double modulus |
Must be non-negative. |
double argument |
Real number. |
Complex from its real
and imaginary parts.
return Complex |
A new Complex with the given values. |
double real |
The value for the real component. |
double imaginary |
The value for the imaginary component. |
Complex.
Argument always returns a value bigger than negative Pi and
smaller or equal to Pi. If this Complex is zero, the Complex
is assumed to be positive real with an argument of zero.
return double
|
Complex.The semantic of is such that// a, b of type Complex a.Conjugate = b;is equivalent to// a, b of type Complex a = b.Conjugate
return Complex
|
return Complex
|
Value:
return double
|
Value:
The semantic associated to this value is a Complex of
infinite real and imaginary part. If you need more formal complex
number handling (according to the Riemann Sphere and the extended
complex plane C*, or using directed infinity) please check out the
alternative Math.NET symbolics packages instead.
return Complex
|
Value:
Complex is the imaginary unit.
return bool
|
Value:
Complex evaluates to an
infinite value.True if it either evaluates to a complex infinity or to a directed infinity.
return bool
|
Value:
Complexevaluates
to a value that is not a number.
return bool
|
Value:
Complex is one.
return bool
|
Value:
Complex is real.
return bool
|
Value:
Complex is real and not negative, that is >= 0.
return bool
|
Value:
Complex is zero.
return bool
|
Value:
Complex.
return double
|
Complex.
return double
|
return Complex
|
Value:
return double
|
Value:
return Complex
|
return Complex
|
Value: