BigRational.Addition Operator

Definition

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

Overload List

Addition(BigInteger, BigRational) Adds a big integer and a rational number.
Addition(BigRational, BigInteger) Adds a big integer and a rational number.
Addition(BigRational, BigRational) Adds two rational numbers.
Addition(BigRational, Int32) Adds an integer and a rational number.
Addition(Int32, BigRational) Adds an integer and a rational number.

Addition(BigInteger, BigRational) Operator

Adds a big integer and a rational number.
C#
public static BigRational operator +(
	BigInteger left,
	BigRational right
)

Parameters

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

Return Value

BigRational
The sum of left and right.

Addition(BigRational, BigInteger) Operator

Adds a big integer and a rational number.
C#
public static BigRational operator +(
	BigRational left,
	BigInteger right
)

Parameters

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

Return Value

BigRational
The sum of left and right.

Addition(BigRational, BigRational) Operator

Adds two rational numbers.
C#
public static BigRational operator +(
	BigRational left,
	BigRational right
)

Parameters

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

Return Value

BigRational
The sum of left and right.

Implements

IAdditionOperators<TSelf, TOther, TResult>.Addition(TSelf, TOther)

Addition(BigRational, Int32) Operator

Adds an integer and a rational number.
C#
public static BigRational operator +(
	BigRational left,
	int right
)

Parameters

left  BigRational
A rational number.
right  Int32
An integer.

Return Value

BigRational
The sum of left and right.

Addition(Int32, BigRational) Operator

Adds an integer and a rational number.
C#
public static BigRational operator +(
	int left,
	BigRational right
)

Parameters

left  Int32
An integer.
right  BigRational
A rational number.

Return Value

BigRational
The sum of left and right.

See Also