BigRational.Equals Method

Definition

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

Overload List

Equals(BigRational) Returns whether two rational numbers represent the same value.
Equals(Object) Returns whether this instance is equal to a specified object.

Equals(BigRational)

Returns whether two rational numbers represent the same value.
C#
public bool Equals(
	BigRational other
)

Parameters

other  BigRational
A rational number to compare.

Return Value

Boolean
true 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.
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
An object to compare with this instance.

Return Value

Boolean
true if obj is an instance of BigRational, and equals the value of this instance; otherwise, false.

See Also