BigRational Constructor

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

BigRational(BigInteger) Constructs a new BigInteger from two arbitrary precision integers.
BigRational(BigInteger, BigInteger) Constructs a new BigRational from an arbitrary precision numerator and denominator.
BigRational(Int32, Int32) Constructs a new BigRational from an integer numerator and denominator.

BigRational(BigInteger)

Constructs a new BigInteger from two arbitrary precision integers.
C#
public BigRational(
	BigInteger value
)

Parameters

value  BigInteger
The BigInteger value of the rational number.

BigRational(BigInteger, BigInteger)

Constructs a new BigRational from an arbitrary precision numerator and denominator.
C#
public BigRational(
	BigInteger numerator,
	BigInteger denominator
)

Parameters

numerator  BigInteger
A BigInteger.
denominator  BigInteger
A BigInteger.

BigRational(Int32, Int32)

Constructs a new BigRational from an integer numerator and denominator.
C#
public BigRational(
	int numerator,
	int denominator
)

Parameters

numerator  Int32
A BigInteger.
denominator  Int32
A BigInteger.

See Also