Complex<T> Explicit Conversion (Complex<T> to T)
Casts a complex number to a real number. The
imaginary part must be zero.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A number with the same value as the complex number.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static explicit operator T (
Complex<T> z
)
Parameters
Return Value
TA number with the same value as the complex number.
Remarks
The imaginary part of z is discarded.