Skip navigation links
A B C D E F G H I L M N O P R S T Z 

A

abs() - Method in class org.apache.commons.numbers.fraction.BigFraction
Returns the absolute value of this BigFraction.
abs() - Method in class org.apache.commons.numbers.fraction.Fraction
Returns the absolute value of this fraction.
add(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
Adds the value of this fraction to the passed BigInteger, returning the result in reduced form.
add(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
Adds the value of this fraction to the passed integer, returning the result in reduced form.
add(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
Adds the value of this fraction to the passed long, returning the result in reduced form.
add(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
Adds the value of this fraction to another, returning the result in reduced form.
add(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
Adds the value of this fraction to another, returning the result in reduced form.
add(int) - Method in class org.apache.commons.numbers.fraction.Fraction
Adds an integer to the fraction.

B

bigDecimalValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
Gets the fraction as a BigDecimal.
bigDecimalValue(RoundingMode) - Method in class org.apache.commons.numbers.fraction.BigFraction
Gets the fraction as a BigDecimal following the passed rounding mode.
bigDecimalValue(int, RoundingMode) - Method in class org.apache.commons.numbers.fraction.BigFraction
Gets the fraction as a BigDecimal following the passed scale and rounding mode.
BigFraction - Class in org.apache.commons.numbers.fraction
Representation of a rational number without any overflow.

C

compareTo(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
Compares this object to another based on size.
compareTo(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
Compares this object to another based on size.
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
 

D

divide(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
Divide the value of this fraction by the passed BigInteger, ie this * 1 / bg, returning the result in reduced form.
divide(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
Divide the value of this fraction by the passed int, ie this * 1 / i, returning the result in reduced form.
divide(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
Divide the value of this fraction by the passed long, ie this * 1 / l, returning the result in reduced form.
divide(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
Divide the value of this fraction by another, returning the result in reduced form.
divide(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
Divides the value of this fraction by another.
divide(int) - Method in class org.apache.commons.numbers.fraction.Fraction
Divides the fraction by an integer.
doubleValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
Gets the fraction as a double.
doubleValue() - Method in class org.apache.commons.numbers.fraction.Fraction
Retrieves the double value closest to this fraction.

E

equals(Object) - Method in class org.apache.commons.numbers.fraction.BigFraction
Test for the equality of two fractions.
equals(Object) - Method in class org.apache.commons.numbers.fraction.Fraction
Test for the equality of two fractions.
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
Gets the fraction as a float.
floatValue() - Method in class org.apache.commons.numbers.fraction.Fraction
Retrieves 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, 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, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
Create a fraction given the double value and maximum denominator.
from(double) - Static method in class org.apache.commons.numbers.fraction.Fraction
Creates an instance.
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.Fraction
Creates an instance.

G

getA(int, double) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
Defines the n-th "a" 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
 
getDenominatorAsInt() - Method in class org.apache.commons.numbers.fraction.BigFraction
Access the denominator as a 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
 
getNumeratorAsInt() - Method in class org.apache.commons.numbers.fraction.BigFraction
Access the numerator as a 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
Gets a hashCode for the fraction.
hashCode() - Method in class org.apache.commons.numbers.fraction.Fraction

I

intValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
Gets the fraction as an int.
intValue() - Method in class org.apache.commons.numbers.fraction.Fraction
Retrieves the whole number part of the fraction.

L

longValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
Gets the fraction as a long.
longValue() - Method in class org.apache.commons.numbers.fraction.Fraction
Retrieves the whole number part of the fraction.

M

multiply(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
Multiplies the value of this fraction by the passed BigInteger, returning the result in reduced form.
multiply(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
Multiply the value of this fraction by the passed int, returning the result in reduced form.
multiply(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
Multiply the value of this fraction by the passed long, returning the result in reduced form.
multiply(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
Multiplies the value of this fraction by another, returning the result in reduced form.
multiply(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
Multiplies the value of this fraction by another, returning the result in reduced form.
multiply(int) - Method in class org.apache.commons.numbers.fraction.Fraction
Multiplies the fraction by an integer.

N

negate() - Method in class org.apache.commons.numbers.fraction.BigFraction
Return the additive inverse of this fraction, returning the result in reduced form.
negate() - Method in class org.apache.commons.numbers.fraction.Fraction
Computes the additive inverse of this fraction.

O

of(BigInteger) - Static method in class org.apache.commons.numbers.fraction.BigFraction
Create a BigFraction equivalent to the passed BigInteger, ie "num / 1".
of(BigInteger, BigInteger) - Static method in class org.apache.commons.numbers.fraction.BigFraction
Create a BigFraction given the numerator and denominator as BigInteger.
of(int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
Create a BigFraction equivalent to the passed int, ie "num / 1".
of(int, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
Create a BigFraction given the numerator and denominator as simple int.
of(long) - Static method in class org.apache.commons.numbers.fraction.BigFraction
Create a BigFraction equivalent to the passed long, ie "num / 1".
of(long, long) - Static method in class org.apache.commons.numbers.fraction.BigFraction
Create a BigFraction given the numerator and denominator as simple long.
of(int) - Static method in class org.apache.commons.numbers.fraction.Fraction
Creates an instance.
of(int, int) - Static method in class org.apache.commons.numbers.fraction.Fraction
Return a fraction given the numerator and denominator.
ONE - Static variable in class org.apache.commons.numbers.fraction.BigFraction
A fraction representing "1".
one() - Method in class org.apache.commons.numbers.fraction.BigFraction
ONE - Static variable in class org.apache.commons.numbers.fraction.Fraction
A fraction representing "1".
one() - Method in class org.apache.commons.numbers.fraction.Fraction
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
Parses a string that would be produced by BigFraction.toString() and instantiates the corresponding object.
parse(String) - Static method in class org.apache.commons.numbers.fraction.Fraction
Parses a string that would be produced by Fraction.toString() and instantiates the corresponding object.
pow(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
Returns a BigFraction whose value is (this<sup>exponent</sup>), returning the result in reduced form.
pow(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
Returns a BigFraction whose value is \(\mathit{this}^{\mathit{exponent}}\), returning the result in reduced form.
pow(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
Returns a BigFraction whose value is \(\mathit{this}^{\mathit{exponent}}\), returning the result in reduced form.
pow(double) - Method in class org.apache.commons.numbers.fraction.BigFraction
Returns a double whose value is \(\mathit{this}^{\mathit{exponent}}\), returning the result in reduced form.
pow(int) - Method in class org.apache.commons.numbers.fraction.Fraction
 

R

reciprocal() - Method in class org.apache.commons.numbers.fraction.BigFraction
Return the multiplicative inverse of this fraction.
reciprocal() - Method in class org.apache.commons.numbers.fraction.Fraction
Computes the multiplicative inverse of this 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(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
Subtracts the value of an BigInteger from the value of this BigFraction, returning the result in reduced form.
subtract(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
Subtracts the value of an integer from the value of this BigFraction, returning the result in reduced form.
subtract(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
Subtracts the value of a long from the value of this BigFraction, returning the result in reduced form.
subtract(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
Subtracts the value of another fraction from the value of this one, returning the result in reduced form.
subtract(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
Subtracts the value of another fraction from the value of this one, returning the result in reduced form.
subtract(int) - Method in class org.apache.commons.numbers.fraction.Fraction
Subtracts an integer from this fraction.

T

toString() - Method in class org.apache.commons.numbers.fraction.BigFraction
Returns the String representing this fraction, ie "num / dem" or just "num" if the denominator is one.
toString() - Method in class org.apache.commons.numbers.fraction.Fraction

Z

ZERO - Static variable in class org.apache.commons.numbers.fraction.BigFraction
A fraction representing "0".
zero() - Method in class org.apache.commons.numbers.fraction.BigFraction
ZERO - Static variable in class org.apache.commons.numbers.fraction.Fraction
A fraction representing "0".
zero() - Method in class org.apache.commons.numbers.fraction.Fraction
A B C D E F G H I L M N O P R S T Z 
Skip navigation links

Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.