Imaginary<T> Explicit Conversion Operators
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Explicit(Complex<T> to Imaginary<T>) | Casts a complex number to an imaginary number. The real part is set to zero. |
Explicit(Imaginary<T> to T) | Casts an imaginary number to a real number. The imaginary part must be zero. |
Explicit Conversion (Complex<T> to Imaginary<T>)
Casts a complex number to an imaginary number. The
real part is set to zero.
public static explicit operator Imaginary<T> (
Complex<T> z
)
Parameters
Return Value
Imaginary<T>An imaginary number that is equal to the imaginary part of z.
Remarks
The real part of z is discarded.
Explicit Conversion (Imaginary<T> to T)
Casts an imaginary number to a real number. The
imaginary part must be zero.
Remarks
The imaginary part of z is discarded. The result is always zero.