Uses of Class
ch.obermuhlner.math.big.BigRational
Packages that use BigRational
-
Uses of BigRational in ch.obermuhlner.math.big
Fields in ch.obermuhlner.math.big declared as BigRationalModifier and TypeFieldDescriptionstatic final BigRational
BigRational.ONE
The value 1 asBigRational
.static final BigRational
BigRational.TEN
The value 10 asBigRational
.static final BigRational
BigRational.TWO
The value 2 asBigRational
.static final BigRational
BigRational.ZERO
The value 0 asBigRational
.Fields in ch.obermuhlner.math.big with type parameters of type BigRationalMethods in ch.obermuhlner.math.big that return BigRationalModifier and TypeMethodDescriptionBigRational.abs()
Returns the absolute value of this rational number.BigRational.add
(int value) Calculates the addition (+) of this rational number and the specified argument.BigRational.add
(BigRational value) Calculates the addition (+) of this rational number and the specified argument.private BigRational
BigRational.add
(BigDecimal value) BigRational.add
(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.decrement()
Calculates the decrement of this rational number (- 1).BigRational.divide
(int value) Calculates the division (/) of this rational number and the specified argument.BigRational.divide
(BigRational value) Calculates the division (/) of this rational number and the specified argument.private BigRational
BigRational.divide
(BigDecimal value) BigRational.divide
(BigInteger value) Calculates the division (/) of this rational number and the specified argument.BigRational.fractionPart()
Returns the fraction part of this rational number.BigRational.increment()
Calculates the increment of this rational number (+ 1).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.multiply
(int value) Calculates the multiplication (*) of this rational number and the specified argument.BigRational.multiply
(BigRational value) Calculates the multiplication (*) of this rational number and the specified argument.private BigRational
BigRational.multiply
(BigDecimal value) BigRational.multiply
(BigInteger value) Calculates the multiplication (*) of this rational number and the specified argument.BigRational.negate()
Negates this rational number (inverting the sign).private static BigRational
BigRational.of
(BigDecimal numerator, BigDecimal denominator) BigRational.pow
(int exponent) Calculates this rational number to the power (xy) of the specified argument.BigRational.reciprocal()
Calculates the reciprocal of this rational number (1/x).BigRational.reduce()
Reduces this rational number to the smallest numerator/denominator with the same value.BigRational.subtract
(int value) Calculates the subtraction (-) of this rational number and the specified argument.BigRational.subtract
(BigRational value) Calculates the subtraction (-) of this rational number and the specified argument.private BigRational
BigRational.subtract
(BigDecimal value) BigRational.subtract
(BigInteger value) Calculates the subtraction (-) of this rational number and the specified argument.static BigRational
BigRational.valueOf
(boolean positive, String integerPart, String fractionPart, String fractionRepeatPart, 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
Creates a rational number of the specified string representation.static BigRational
BigRational.valueOf
(BigDecimal value) Creates a rational number of the specifiedBigDecimal
value.static BigRational
BigRational.valueOf
(BigDecimal numerator, BigDecimal denominator) Creates a rational number of the specified numerator/denominator BigDecimal values.static BigRational
BigRational.valueOf
(BigInteger value) Creates a rational number of the specifiedBigInteger
value.static BigRational
BigRational.valueOf
(BigInteger numerator, BigInteger denominator) Creates a rational number of the specified numerator/denominator BigInteger values.private static BigRational
BigRational.valueOfSimple
(String string) BigRational.withPrecision
(int precision) Returns a rational number with approximativelythis
value and the specified precision.BigRational.withScale
(int scale) Returns a rational number with approximativelythis
value and the specified scale.Methods in ch.obermuhlner.math.big with parameters of type BigRationalModifier and TypeMethodDescriptionBigRational.add
(BigRational value) Calculates the addition (+) of this rational number and the specified argument.int
BigRational.compareTo
(BigRational other) BigRational.divide
(BigRational value) Calculates the division (/) of this rational number and the specified argument.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.multiply
(BigRational value) Calculates the multiplication (*) of this rational number and the specified argument.BigRational.subtract
(BigRational value) Calculates the subtraction (-) of this rational number and the specified argument. -
Uses of BigRational in ch.obermuhlner.math.big.internal
Fields in ch.obermuhlner.math.big.internal declared as BigRationalModifier and TypeFieldDescriptionprivate BigRational
AsinCalculator.factorial2n
private BigRational
CosCalculator.factorial2n
private BigRational
CoshCalculator.factorial2n
private BigRational
SinCalculator.factorial2nPlus1
private BigRational
SinhCalculator.factorial2nPlus1
private BigRational
AsinCalculator.factorialN
private BigRational
AsinCalculator.fourPowerN
private BigRational
ExpCalculator.oneOverFactorialOfN
Fields in ch.obermuhlner.math.big.internal with type parameters of type BigRationalMethods in ch.obermuhlner.math.big.internal that return BigRationalModifier and TypeMethodDescriptionprotected BigRational
AsinCalculator.getCurrentFactor()
protected BigRational
AtanhCalculator.getCurrentFactor()
protected BigRational
CosCalculator.getCurrentFactor()
protected BigRational
CoshCalculator.getCurrentFactor()
protected BigRational
ExpCalculator.getCurrentFactor()
protected abstract BigRational
SeriesCalculator.getCurrentFactor()
Returns the factor of the highest term already calculated.protected BigRational
SinCalculator.getCurrentFactor()
protected BigRational
SinhCalculator.getCurrentFactor()
protected BigRational
SeriesCalculator.getFactor
(int index) Returns the factor of the term with specified index.Methods in ch.obermuhlner.math.big.internal with parameters of type BigRational