Complex<T> Explicit  Conversion (Complex<T> to T)

Casts a complex number to a real number. The imaginary part must be zero.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static explicit operator T (
	Complex<T> z
)

Parameters

z  Complex<T>
The complex number to convert.

Return Value

T
A floating-point number with the same value as the complex number.

Remarks

The imaginary part of z is discarded.

See Also