|
RationalStrictlyEquals Method
|
Indicates whether this instance and a specified
Rational are strictly equal; that is, the two instances must have equal numerators and denominators.
Namespace:
Accord.Math
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public bool StrictlyEquals(
Rational r
)
Public Function StrictlyEquals (
r As Rational
) As Boolean
Request Example
View SourceParameters
- r
- Type: Accord.MathRational
Another Rational to compare to.
Return Value
Type:
BooleanField Value
Type:
Booleantrue if the current number and
r have equal numerators and denominators; otherwise,
Field Value
Type:
Booleanfalse.
Remarks
The basic Equals implementation considers unsimplified fractions to be equal to their simplified forms; e.g. 2/4 = 1/2.
This method considers those values to be different.
See Also