Click or drag to resize
Accord.NET (logo)

RationalDivRem Method

Calculates the quotient of two rational numbers and also returns the remainder in an output parameter.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static int DivRem(
	Rational a,
	Rational b,
	out Rational remainder
)
Request Example View Source

Parameters

a
Type: Accord.MathRational
The dividend.
b
Type: Accord.MathRational
The divisor.
remainder
Type: Accord.MathRational
The remainder.

Return Value

Type: Int32
The quotient.
See Also