Operator == tests for equality of two complex numbers, and returns true if left.Real==right.Real and left.Imag==right.Imag; otherwise, false. Following the convention of the .NET Framework, if both objects are null, they test equal. Operator != returns the logical negation of ==.
The Equals() member function also tests for equality. NaNEquals() ignores values that are Not-a-Number (NaN).
NOTE—NMath provides no comparison operators for FloatComplex and DoubleComplex because there is no standard ordering for complex numbers.