BigRational.Division Operator

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Division(BigRational, BigInteger) Divides a rational number by an arbitrary precision integer.
Division(BigRational, BigRational) Divides a rational number by another and returns the result.
Division(BigRational, Int32) Divides a rational number by an arbitrary precision integer.

Division(BigRational, BigInteger) Operator

Divides a rational number by an arbitrary precision integer.
C#
public static BigRational operator /(
	BigRational left,
	BigInteger right
)

Parameters

left  BigRational
A rational number.
right  BigInteger
A BigInteger number.

Return Value

BigRational
The result of dividing right by left.

Exceptions

DivideByZeroException

The Numerator of right is zero.

Division(BigRational, BigRational) Operator

Divides a rational number by another and returns the result.
C#
public static BigRational operator /(
	BigRational left,
	BigRational right
)

Parameters

left  BigRational
A rational number.
right  BigRational
A rational number.

Return Value

BigRational
The result of dividing right by left.

Implements

IDivisionOperators<TSelf, TOther, TResult>.Division(TSelf, TOther)

Exceptions

DivideByZeroException

The Numerator of right is zero.

Division(BigRational, Int32) Operator

Divides a rational number by an arbitrary precision integer.
C#
public static BigRational operator /(
	BigRational left,
	int right
)

Parameters

left  BigRational
A rational number.
right  Int32
An integer.

Return Value

BigRational
The result of dividing right by left.

Exceptions

DivideByZeroException

The Numerator of right is zero.

See Also