Imaginary<T>.Equality Operator

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

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

Equality(T, Imaginary<T>) Operator

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

Parameters

a  T
The real number.
z  Imaginary<T>
The imaginary number.

Return Value

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

Equality(Imaginary<T>, T) Operator

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

Parameters

z  Imaginary<T>
The imaginary number.
a  T
The real number.

Return Value

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

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

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

Parameters

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

Return Value

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

See Also