Complex<T> Constructor
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Constructs a complex number
Overload List
Complex<T>(T) | Constructs a complex number from a real number. |
Complex<T>(T, T) | Constructs a complex number from its real and imaginary parts. |
Complex<T>(T)
Constructs a complex number from a real number.
Remarks
The imaginary part of the complex number is set to zero.
Complex<T>(T, T)
Constructs a complex number from its real and imaginary
parts.
public Complex(
T realPart,
T imaginaryPart
)