Complex<T>.Equals Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Equals( | Compares a complex number to a real number. |
Equals( | Compares a complex number to another complex number. |
Equals( | Overridden. Returns whether this instance is equal to a specified object. |
Equals(T)
Compares a complex 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(Complex<T>)
Compares a complex number to another 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(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.