Big Rational.Subtraction 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
Subtraction( | Subtracts a rational number from a big integer. |
Subtraction( | Subtracts a big integer from a rational number. |
Subtraction( | Subtracts a rational number from another and returns the result. |
Subtraction( | Subtracts an integer from a rational number. |
Subtraction( | Subtracts a rational number from an integer. |
Subtraction(BigInteger, BigRational) Operator
Subtracts a rational number from a big integer.
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.
Subtraction(BigRational, BigInteger) Operator
Subtracts a big integer from 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.
Subtraction(BigRational, BigRational) Operator
Subtracts a rational number from another and returns the result.
public static BigRational operator -(
BigRational left,
BigRational right
)
Parameters
- left BigRational
- A rational number.
- right BigRational
- A rational number.
Return Value
BigRationalThe result of subtracting right from left.
Implements
ISubtractionOperators<TSelf, TOther, TResult>.Subtraction(TSelf, TOther)Subtraction(BigRational, Int32) Operator
Subtracts an integer from 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.
Subtraction(Int32, BigRational) Operator
Subtracts a rational number from an integer.
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.