BigRational |
BigRational.abs() |
Returns the absolute value of this rational number.
|
BigRational |
BigRational.add(int value) |
Calculates the addition (+) of this rational number and the specified argument.
|
BigRational |
BigRational.add(BigRational value) |
Calculates the addition (+) of this rational number and the specified argument.
|
private BigRational |
BigRational.add(java.math.BigDecimal value) |
|
BigRational |
BigRational.add(java.math.BigInteger value) |
Calculates the addition (+) of this rational number and the specified argument.
|
static BigRational |
BigRational.bernoulli(int n) |
Calculates the Bernoulli number for the specified index.
|
private static BigRational |
BigRational.calculateBernoulli(int n) |
|
BigRational |
BigRational.decrement() |
Calculates the decrement of this rational number (- 1).
|
BigRational |
BigRational.divide(int value) |
Calculates the division (/) of this rational number and the specified argument.
|
BigRational |
BigRational.divide(BigRational value) |
Calculates the division (/) of this rational number and the specified argument.
|
private BigRational |
BigRational.divide(java.math.BigDecimal value) |
|
BigRational |
BigRational.divide(java.math.BigInteger value) |
Calculates the division (/) of this rational number and the specified argument.
|
BigRational |
BigRational.fractionPart() |
Returns the fraction part of this rational number.
|
BigRational |
BigRational.increment() |
Calculates the increment of this rational number (+ 1).
|
BigRational |
BigRational.integerPart() |
Returns the integer part of this rational number.
|
private BigRational |
BigRational.max(BigRational value) |
Finds the maximum (larger) of two rational numbers.
|
static BigRational |
BigRational.max(BigRational... values) |
Returns the largest of the specified rational numbers.
|
private BigRational |
BigRational.min(BigRational value) |
Finds the minimum (smaller) of two rational numbers.
|
static BigRational |
BigRational.min(BigRational... values) |
Returns the smallest of the specified rational numbers.
|
BigRational |
BigRational.multiply(int value) |
Calculates the multiplication (*) of this rational number and the specified argument.
|
BigRational |
BigRational.multiply(BigRational value) |
Calculates the multiplication (*) of this rational number and the specified argument.
|
private BigRational |
BigRational.multiply(java.math.BigDecimal value) |
|
BigRational |
BigRational.multiply(java.math.BigInteger value) |
Calculates the multiplication (*) of this rational number and the specified argument.
|
BigRational |
BigRational.negate() |
Negates this rational number (inverting the sign).
|
private static BigRational |
BigRational.of(java.math.BigDecimal numerator,
java.math.BigDecimal denominator) |
|
BigRational |
BigRational.pow(int exponent) |
Calculates this rational number to the power (xy) of the specified argument.
|
BigRational |
BigRational.reciprocal() |
Calculates the reciprocal of this rational number (1/x).
|
BigRational |
BigRational.reduce() |
Reduces this rational number to the smallest numerator/denominator with the same value.
|
BigRational |
BigRational.subtract(int value) |
Calculates the subtraction (-) of this rational number and the specified argument.
|
BigRational |
BigRational.subtract(BigRational value) |
Calculates the subtraction (-) of this rational number and the specified argument.
|
private BigRational |
BigRational.subtract(java.math.BigDecimal value) |
|
BigRational |
BigRational.subtract(java.math.BigInteger value) |
Calculates the subtraction (-) of this rational number and the specified argument.
|
static BigRational |
BigRational.valueOf(boolean positive,
java.lang.String integerPart,
java.lang.String fractionPart,
java.lang.String fractionRepeatPart,
java.lang.String exponentPart) |
|
static BigRational |
BigRational.valueOf(double value) |
Creates a rational number of the specified double value.
|
static BigRational |
BigRational.valueOf(int value) |
Creates a rational number of the specified int value.
|
static BigRational |
BigRational.valueOf(int numerator,
int denominator) |
Creates a rational number of the specified numerator/denominator int values.
|
static BigRational |
BigRational.valueOf(int integer,
int fractionNumerator,
int fractionDenominator) |
Creates a rational number of the specified integer and fraction parts.
|
static BigRational |
BigRational.valueOf(java.lang.String string) |
Creates a rational number of the specified string representation.
|
static BigRational |
BigRational.valueOf(java.math.BigDecimal value) |
Creates a rational number of the specified BigDecimal value.
|
static BigRational |
BigRational.valueOf(java.math.BigDecimal numerator,
java.math.BigDecimal denominator) |
Creates a rational number of the specified numerator/denominator BigDecimal values.
|
static BigRational |
BigRational.valueOf(java.math.BigInteger value) |
Creates a rational number of the specified BigInteger value.
|
static BigRational |
BigRational.valueOf(java.math.BigInteger numerator,
java.math.BigInteger denominator) |
Creates a rational number of the specified numerator/denominator BigInteger values.
|
private static BigRational |
BigRational.valueOfSimple(java.lang.String string) |
|
BigRational |
BigRational.withPrecision(int precision) |
Returns a rational number with approximatively this value and the specified precision.
|
BigRational |
BigRational.withScale(int scale) |
Returns a rational number with approximatively this value and the specified scale.
|