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
Syntax
public static bool IsInfinity(
	Rational r
)
Request Example View Source

Parameters

r
Type: Accord.MathRational
A rational number.

Return Value

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