Click or drag to resize
Accord.NET (logo)

Rational Constructor (Int32)

Creates a new Rational instance with a denominator of 1.

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

Parameters

numerator
Type: SystemInt32
The numerator of the Rational.
See Also