Complex<T>.Equality Operator

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Equality(T, Complex<T>) Compares a complex number and a real number for equality.
Equality(Complex<T>, T) Compares a complex number and a real number for equality.
Equality(Complex<T>, Complex<T>) Compares two complex numbers for equality.

Equality(T, Complex<T>) Operator

Compares a complex number and a real number for equality.
C#
public static bool operator ==(
	T a,
	Complex<T> z
)

Parameters

a  T
The real number.
z  Complex<T>
The complex number.

Return Value

Boolean
true if the two numbers are equal; otherwise false.

Equality(Complex<T>, T) Operator

Compares a complex number and a real number for equality.
C#
public static bool operator ==(
	Complex<T> z,
	T a
)

Parameters

z  Complex<T>
The complex number.
a  T
The real number.

Return Value

Boolean
true if the two numbers are equal; otherwise false.

Equality(Complex<T>, Complex<T>) Operator

Compares two complex numbers for equality.
C#
public static bool operator ==(
	Complex<T> z1,
	Complex<T> z2
)

Parameters

z1  Complex<T>
The first complex number.
z2  Complex<T>
The first complex number.

Return Value

Boolean
true if the two complex numbers are equal; otherwise false.

See Also