Click or drag to resize
Accord.NET (logo)

RationalIsInfinity Method

Returns a value that indicates whether the specified Rational evaluates to positive or negative infinity.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
public static bool IsInfinity(
	Rational r
Request Example View Source


Type: Accord.MathRational
A rational number.

Return Value

Type: Boolean
True if r evaluates to positive or negative infinity; otherwise false.
See Also