Imaginary<T>.Equals Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Equals( | Compares an imaginary number to a complex number. |
Equals( | Compares an imaginary number to a real number. |
Equals( | Compares an imaginary number to another complex number. |
Equals( | Overridden. Returns whether this instance is equal to a specified object. |
Equals(Complex<T>)
Compares an imaginary number to a complex number.
public bool Equals(
Complex<T> other
)
Parameters
Return Value
Booleantrue if the complex number is equal to other; otherwise false.
Implements
IEquatable<T>.Equals(T)Equals(T)
Compares an imaginary number to a real number.
public bool Equals(
T other
)
Parameters
- other T
- A real number.
Return Value
Booleantrue if the complex number is equal to other; otherwise false.
Implements
IEquatable<T>.Equals(T)Equals(Imaginary<T>)
Compares an imaginary number to another complex number.
public bool Equals(
Imaginary<T> other
)
Parameters
Return Value
Booleantrue if the complex number is equal to other; otherwise false.
Implements
IEquatable<T>.Equals(T)Equals(Object)
Overridden. Returns whether this
instance is equal to a specified object.
public override bool Equals(
Object? obj
)
Parameters
- obj Object
- An object to compare with this instance.
Return Value
Booleantrue if obj is an instance of complex and equals the value of this instance; otherwise, false.