A B C D E F G H I L M N O P R S T V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abs() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the absolute value of this fraction.
- abs() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the absolute value of this fraction.
- add(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Adds the specified
value
to this fraction, returning the result in reduced form.
B
- bigDecimalValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
BigDecimal
representation of this fraction. - bigDecimalValue(int, RoundingMode) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
BigDecimal
representation of this fraction. - bigDecimalValue(RoundingMode) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
BigDecimal
representation of this fraction. - BigFraction - Class in org.apache.commons.numbers.fraction
-
Representation of a rational number using arbitrary precision.
C
- compareTo(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Compares this object with the specified object for order using the signed magnitude.
- compareTo(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Compares this object with the specified object for order using the signed magnitude.
- ContinuedFraction - Class in org.apache.commons.numbers.fraction
-
Provides a generic means to evaluate continued fractions.
- ContinuedFraction() - Constructor for class org.apache.commons.numbers.fraction.ContinuedFraction
-
Create an instance.
D
- divide(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - doubleValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
double
value closest to this fraction. - doubleValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the
double
value closest to this fraction.
E
- equals(Object) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Test for equality with another object.
- equals(Object) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Test for equality with another object.
- evaluate(double, double) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Evaluates the continued fraction.
- evaluate(double, double, int) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Evaluates the continued fraction.
F
- floatValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
float
value closest to this fraction. - floatValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the
float
value closest to this fraction. - Fraction - Class in org.apache.commons.numbers.fraction
-
Representation of a rational number.
- from(double) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the double value.
- from(double) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the double value.
- from(double, double, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the double value and maximum error allowed.
- from(double, double, int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the double value and maximum error allowed.
- from(double, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the double value and maximum denominator.
- from(double, int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the double value and maximum denominator.
G
- GeneralizedContinuedFraction - Class in org.apache.commons.numbers.fraction
-
Provides a means to evaluate generalized continued fractions.
- GeneralizedContinuedFraction.Coefficient - Class in org.apache.commons.numbers.fraction
-
Defines the
n
-th "a" and "b" coefficients of the continued fraction. - getA() - Method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
Returns the
n
-th "a" coefficient of the continued fraction. - getA(int, double) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Defines the
n
-th "a" coefficient of the continued fraction. - getB() - Method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
Returns the
n
-th "b" coefficient of the continued fraction. - getB(int, double) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Defines the
n
-th "b" coefficient of the continued fraction. - getDenominator() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the denominator as a
BigInteger
. - getDenominator() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Access the denominator as an
int
. - getDenominatorAsInt() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the denominator as an
int
. - getDenominatorAsLong() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the denominator as a
long
. - getNumerator() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the numerator as a
BigInteger
. - getNumerator() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Access the numerator as an
int
. - getNumeratorAsInt() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the numerator as an
int
. - getNumeratorAsLong() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the numerator as a
long
.
H
- hashCode() - Method in class org.apache.commons.numbers.fraction.BigFraction
- hashCode() - Method in class org.apache.commons.numbers.fraction.Fraction
I
- intValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the whole number part of the fraction.
- intValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the whole number part of the fraction.
- isOne() - Method in class org.apache.commons.numbers.fraction.BigFraction
- isOne() - Method in class org.apache.commons.numbers.fraction.Fraction
- isZero() - Method in class org.apache.commons.numbers.fraction.BigFraction
- isZero() - Method in class org.apache.commons.numbers.fraction.Fraction
L
- longValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the whole number part of the fraction.
- longValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the whole number part of the fraction.
M
- multiply(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form.
N
- negate() - Method in class org.apache.commons.numbers.fraction.BigFraction
- negate() - Method in class org.apache.commons.numbers.fraction.Fraction
O
- of(double, double) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
Create a new coefficient.
- of(int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator.
- of(int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the numerator.
- of(int, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator and denominator.
- of(int, int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the numerator and denominator.
- of(long) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator.
- of(long, long) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator and denominator.
- of(BigInteger) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator.
- of(BigInteger, BigInteger) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator and denominator.
- one() - Method in class org.apache.commons.numbers.fraction.BigFraction
- one() - Method in class org.apache.commons.numbers.fraction.Fraction
- ONE - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
A fraction representing "1".
- ONE - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
A fraction representing "1".
- org.apache.commons.numbers.fraction - package org.apache.commons.numbers.fraction
-
Fraction number type and fraction number formatting.
P
- parse(String) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns a
BigFraction
instance representing the specified strings
. - parse(String) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Returns a
Fraction
instance representing the specified strings
. - pow(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns a
BigFraction
whose value isthisexponent
, returning the result in reduced form. - pow(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns a
Fraction
whose value isthisexponent
, returning the result in reduced form.
R
- reciprocal() - Method in class org.apache.commons.numbers.fraction.BigFraction
- reciprocal() - Method in class org.apache.commons.numbers.fraction.Fraction
S
- signum() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Retrieves the sign of this fraction.
- signum() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Retrieves the sign of this fraction.
- subtract(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form.
T
- toString() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
String
representing this fraction. - toString() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the
String
representing this fraction.
V
- value(double, Supplier<GeneralizedContinuedFraction.Coefficient>) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(double, Supplier<GeneralizedContinuedFraction.Coefficient>, double) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(double, Supplier<GeneralizedContinuedFraction.Coefficient>, double, int) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(Supplier<GeneralizedContinuedFraction.Coefficient>) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(Supplier<GeneralizedContinuedFraction.Coefficient>, double) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(Supplier<GeneralizedContinuedFraction.Coefficient>, double, int) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
Z
- zero() - Method in class org.apache.commons.numbers.fraction.BigFraction
- zero() - Method in class org.apache.commons.numbers.fraction.Fraction
- ZERO - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
A fraction representing "0".
- ZERO - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
A fraction representing "0".
All Classes All Packages