| Package | Description | 
|---|---|
| org.apache.commons.math3.fraction | Fraction number type and fraction number formatting. | 
| org.apache.commons.math3.linear | Linear algebra support. | 
| Modifier and Type | Field and Description | 
|---|---|
| static BigFraction | BigFraction. FOUR_FIFTHSA fraction representing "4/5". | 
| static BigFraction | BigFraction. MINUS_ONEA fraction representing "-1 / 1". | 
| static BigFraction | BigFraction. ONEA fraction representing "1". | 
| static BigFraction | BigFraction. ONE_FIFTHA fraction representing "1/5". | 
| static BigFraction | BigFraction. ONE_HALFA fraction representing "1/2". | 
| static BigFraction | BigFraction. ONE_QUARTERA fraction representing "1/4". | 
| static BigFraction | BigFraction. ONE_THIRDA fraction representing "1/3". | 
| static BigFraction | BigFraction. THREE_FIFTHSA fraction representing "3/5". | 
| static BigFraction | BigFraction. THREE_QUARTERSA fraction representing "3/4". | 
| static BigFraction | BigFraction. TWOA fraction representing "2 / 1". | 
| static BigFraction | BigFraction. TWO_FIFTHSA fraction representing "2/5". | 
| static BigFraction | BigFraction. TWO_QUARTERSA fraction representing "2/4". | 
| static BigFraction | BigFraction. TWO_THIRDSA fraction representing "2/3". | 
| static BigFraction | BigFraction. ZEROA fraction representing "0". | 
| Modifier and Type | Method and Description | 
|---|---|
| BigFraction | BigFraction. abs()
 Returns the absolute value of this  BigFraction. | 
| BigFraction | BigFraction. add(BigFraction fraction)
 Adds the value of this fraction to another, returning the result in
 reduced form. | 
| BigFraction | BigFraction. add(BigInteger bg)
 Adds the value of this fraction to the passed  BigInteger,
 returning the result in reduced form. | 
| BigFraction | BigFraction. add(int i)
 Adds the value of this fraction to the passed  integer, returning
 the result in reduced form. | 
| BigFraction | BigFraction. add(long l)
 Adds the value of this fraction to the passed  long, returning
 the result in reduced form. | 
| BigFraction | BigFraction. divide(BigFraction fraction)
 Divide the value of this fraction by another, returning the result in
 reduced form. | 
| BigFraction | BigFraction. divide(BigInteger bg)
 Divide the value of this fraction by the passed  BigInteger,
 iethis * 1 / bg, returning the result in reduced form. | 
| BigFraction | BigFraction. divide(int i)
 Divide the value of this fraction by the passed  int, iethis * 1 / i, returning the result in reduced form. | 
| BigFraction | BigFraction. divide(long l)
 Divide the value of this fraction by the passed  long, iethis * 1 / l, returning the result in reduced form. | 
| BigFraction | BigFractionField. getOne()Get the multiplicative identity of the field. | 
| static BigFraction | BigFraction. getReducedFraction(int numerator,
                  int denominator)
 Creates a  BigFractioninstance with the 2 parts of a fraction
 Y/Z. | 
| BigFraction | BigFractionField. getZero()Get the additive identity of the field. | 
| BigFraction | BigFraction. multiply(BigFraction fraction)
 Multiplies the value of this fraction by another, returning the result in
 reduced form. | 
| BigFraction | BigFraction. multiply(BigInteger bg)
 Multiplies the value of this fraction by the passed
  BigInteger, returning the result in reduced form. | 
| BigFraction | BigFraction. multiply(int i)
 Multiply the value of this fraction by the passed  int, returning
 the result in reduced form. | 
| BigFraction | BigFraction. multiply(long l)
 Multiply the value of this fraction by the passed  long,
 returning the result in reduced form. | 
| BigFraction | BigFraction. negate()
 Return the additive inverse of this fraction, returning the result in
 reduced form. | 
| BigFraction | BigFractionFormat. parse(String source)Parses a string to produce a  BigFractionobject. | 
| BigFraction | ProperBigFractionFormat. parse(String source,
     ParsePosition pos)Parses a string to produce a  BigFractionobject. | 
| BigFraction | BigFractionFormat. parse(String source,
     ParsePosition pos)Parses a string to produce a  BigFractionobject. | 
| BigFraction | BigFraction. pow(BigInteger exponent)
 Returns a  BigFractionwhose value is
 (thisexponent), returning the result in reduced form. | 
| BigFraction | BigFraction. pow(int exponent)
 Returns a  BigFractionwhose value is(this<sup>exponent</sup>), returning the result in reduced form. | 
| BigFraction | BigFraction. pow(long exponent)
 Returns a  BigFractionwhose value is
 (thisexponent), returning the result in reduced form. | 
| BigFraction | BigFraction. reciprocal()
 Return the multiplicative inverse of this fraction. | 
| BigFraction | BigFraction. reduce()
 Reduce this  BigFractionto its lowest terms. | 
| BigFraction | BigFraction. subtract(BigFraction fraction)
 Subtracts the value of another fraction from the value of this one,
 returning the result in reduced form. | 
| BigFraction | BigFraction. subtract(BigInteger bg)
 Subtracts the value of an  BigIntegerfrom the value of thisBigFraction, returning the result in reduced form. | 
| BigFraction | BigFraction. subtract(int i)
 Subtracts the value of an  integerfrom the value of thisBigFraction, returning the result in reduced form. | 
| BigFraction | BigFraction. subtract(long l)
 Subtracts the value of a  longfrom the value of thisBigFraction, returning the result in reduced form. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends FieldElement<BigFraction>> | BigFractionField. getRuntimeClass()Returns the runtime class of the FieldElement. | 
| Modifier and Type | Method and Description | 
|---|---|
| BigFraction | BigFraction. add(BigFraction fraction)
 Adds the value of this fraction to another, returning the result in
 reduced form. | 
| int | BigFraction. compareTo(BigFraction object)
 Compares this object to another based on size. | 
| BigFraction | BigFraction. divide(BigFraction fraction)
 Divide the value of this fraction by another, returning the result in
 reduced form. | 
| StringBuffer | ProperBigFractionFormat. format(BigFraction fraction,
      StringBuffer toAppendTo,
      FieldPosition pos)Formats a  BigFractionobject to produce a string. | 
| StringBuffer | BigFractionFormat. format(BigFraction BigFraction,
      StringBuffer toAppendTo,
      FieldPosition pos)Formats a  BigFractionobject to produce a string. | 
| static String | BigFractionFormat. formatBigFraction(BigFraction f)This static method calls formatBigFraction() on a default instance of
 BigFractionFormat. | 
| BigFraction | BigFraction. multiply(BigFraction fraction)
 Multiplies the value of this fraction by another, returning the result in
 reduced form. | 
| BigFraction | BigFraction. subtract(BigFraction fraction)
 Subtracts the value of another fraction from the value of this one,
 returning the result in reduced form. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Array2DRowRealMatrix | MatrixUtils. bigFractionMatrixToRealMatrix(FieldMatrix<BigFraction> m) | 
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.