Big Rational.Addition Operator
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Addition( | Adds a big integer and a rational number. |
Addition( | Adds a big integer and a rational number. |
Addition( | Adds two rational numbers. |
Addition( | Adds an integer and a rational number. |
Addition( | Adds an integer and a rational number. |
Addition(BigInteger, BigRational) Operator
Adds a big integer and a rational number.
public static BigRational operator +(
BigInteger left,
BigRational right
)
Parameters
- left BigInteger
- A BigInteger number.
- right BigRational
- A rational number.
Return Value
BigRationalThe sum of left and right.
Addition(BigRational, BigInteger) Operator
Adds a big integer and a rational number.
public static BigRational operator +(
BigRational left,
BigInteger right
)
Parameters
- left BigRational
- A rational number.
- right BigInteger
- A BigInteger number.
Return Value
BigRationalThe sum of left and right.
Addition(BigRational, BigRational) Operator
Adds two rational numbers.
public static BigRational operator +(
BigRational left,
BigRational right
)
Parameters
- left BigRational
- A rational number.
- right BigRational
- A rational number.
Return Value
BigRationalThe sum of left and right.
Implements
IAdditionOperators<TSelf, TOther, TResult>.Addition(TSelf, TOther)Addition(BigRational, Int32) Operator
Adds an integer and a rational number.
public static BigRational operator +(
BigRational left,
int right
)
Parameters
- left BigRational
- A rational number.
- right Int32
- An integer.
Return Value
BigRationalThe sum of left and right.
Addition(Int32, BigRational) Operator
Adds an integer and a rational number.
public static BigRational operator +(
int left,
BigRational right
)
Parameters
- left Int32
- An integer.
- right BigRational
- A rational number.
Return Value
BigRationalThe sum of left and right.