Click or drag to resize
Accord.NET (logo)

Rational Constructor (Int32, Int32)

Creates a new Rational instance.

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

Parameters

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