Big Rational.Equals Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Overload List
Equals( | Returns whether two rational numbers represent the same value. |
Equals( | Returns whether this instance is equal to a specified object. |
Equals(BigRational)
Returns whether two rational numbers represent the same value.
public bool Equals(
BigRational other
)
Parameters
- other BigRational
- A rational number to compare.
Return Value
Booleantrue if the value of the rational number equals the value of other; otherwise, false.
Implements
IEquatable<T>.Equals(T)Equals(Object)
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 BigRational, and equals the value of this instance; otherwise, false.