Click or drag to resize
Accord.NET (logo)

RationalMax Method

Returns the larger of two Rationals.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static Rational Max(
	Rational val1,
	Rational val2
)
Request Example View Source

Parameters

val1
Type: Accord.MathRational
A Rational number.
val2
Type: Accord.MathRational
A Rational number.

Return Value

Type: Rational
The larger of two Rationals.
See Also