The DoubleComplex struct represents a complex number, consisting of a real part and an imaginary part.

Namespace: CenterSpace.NMath.Core
Assembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0

Syntax

C#
[SerializableAttribute]
public struct DoubleComplex
Visual Basic
<SerializableAttribute> _
Public Structure DoubleComplex
Visual C++
[SerializableAttribute]
public value class DoubleComplex

Remarks

A DoubleComplex instance has public double-precision floating point data members Real and Imag.
DoubleComplex supports equality operations, conversion from type double or a string representation, and basic arithmetic operations. Static member functions are also provided for returning the argument (or phase) of a complex number, the complex conjugate, the norm (or modulus), and for converting from polar coordinates.
Trigonometric functions for complex numbers, and mathematical functions such as exponents, logarithms, powers, and square roots, are available in class NMathFunctions.

See Also