The FloatComplex 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 FloatComplex
Visual Basic
<SerializableAttribute> _
Public Structure FloatComplex
Visual C++
[SerializableAttribute]
public value class FloatComplex

Remarks

A FloatComplex instance has public floating point data members Real and Imag.
FloatComplex supports equality operations, conversion from type float 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