Click or drag to resize
Accord.NET (logo)

RationalCompareTo Method (Rational)

Compares this instance to another Rational and returns an indication of their relative values.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public int CompareTo(
	Rational other
)
Request Example View Source

Parameters

other
Type: Accord.MathRational
The Rational to compare to.

Return Value

Type: Int32
A signed number indicating the relative values of this instance and other.

Implements

IComparableTCompareTo(T)
See Also