Uses of Class
org.apache.commons.math3.fraction.BigFraction
-
Packages that use BigFraction Package Description org.apache.commons.math3.analysis.polynomials Univariate real polynomials implementations, seen as differentiable univariate real functions.org.apache.commons.math3.distribution Implementations of common discrete and continuous distributions.org.apache.commons.math3.fraction Fraction number type and fraction number formatting.org.apache.commons.math3.geometry.euclidean.threed This package provides basic 3D geometry components.org.apache.commons.math3.geometry.euclidean.twod This package provides basic 2D geometry components.org.apache.commons.math3.linear Linear algebra support.org.apache.commons.math3.ode.nonstiff This package provides classes to solve non-stiff Ordinary Differential Equations problems.org.apache.commons.math3.stat.inference Classes providing hypothesis testing. -
-
Uses of BigFraction in org.apache.commons.math3.analysis.polynomials
Fields in org.apache.commons.math3.analysis.polynomials with type parameters of type BigFraction Modifier and Type Field Description private static java.util.List<BigFraction>
PolynomialsUtils. CHEBYSHEV_COEFFICIENTS
Coefficients for Chebyshev polynomials.private static java.util.List<BigFraction>
PolynomialsUtils. HERMITE_COEFFICIENTS
Coefficients for Hermite polynomials.private static java.util.Map<PolynomialsUtils.JacobiKey,java.util.List<BigFraction>>
PolynomialsUtils. JACOBI_COEFFICIENTS
Coefficients for Jacobi polynomials.private static java.util.List<BigFraction>
PolynomialsUtils. LAGUERRE_COEFFICIENTS
Coefficients for Laguerre polynomials.private static java.util.List<BigFraction>
PolynomialsUtils. LEGENDRE_COEFFICIENTS
Coefficients for Legendre polynomials.Methods in org.apache.commons.math3.analysis.polynomials that return BigFraction Modifier and Type Method Description BigFraction[]
PolynomialsUtils.RecurrenceCoefficientsGenerator. generate(int k)
Generate recurrence coefficients.Method parameters in org.apache.commons.math3.analysis.polynomials with type arguments of type BigFraction Modifier and Type Method Description private static PolynomialFunction
PolynomialsUtils. buildPolynomial(int degree, java.util.List<BigFraction> coefficients, PolynomialsUtils.RecurrenceCoefficientsGenerator generator)
Get the coefficients array for a given degree.private static void
PolynomialsUtils. computeUpToDegree(int degree, int maxDegree, PolynomialsUtils.RecurrenceCoefficientsGenerator generator, java.util.List<BigFraction> coefficients)
Compute polynomial coefficients up to a given degree. -
Uses of BigFraction in org.apache.commons.math3.distribution
Methods in org.apache.commons.math3.distribution that return types with arguments of type BigFraction Modifier and Type Method Description private FieldMatrix<BigFraction>
KolmogorovSmirnovDistribution. createH(double d)
Deprecated.CreatesH
of sizem x m
as described in [1] (see above). -
Uses of BigFraction in org.apache.commons.math3.fraction
Fields in org.apache.commons.math3.fraction declared as BigFraction Modifier and Type Field Description static BigFraction
BigFraction. FOUR_FIFTHS
A fraction representing "4/5".static BigFraction
BigFraction. MINUS_ONE
A fraction representing "-1 / 1".static BigFraction
BigFraction. ONE
A fraction representing "1".static BigFraction
BigFraction. ONE_FIFTH
A fraction representing "1/5".static BigFraction
BigFraction. ONE_HALF
A fraction representing "1/2".static BigFraction
BigFraction. ONE_QUARTER
A fraction representing "1/4".static BigFraction
BigFraction. ONE_THIRD
A fraction representing "1/3".static BigFraction
BigFraction. THREE_FIFTHS
A fraction representing "3/5".static BigFraction
BigFraction. THREE_QUARTERS
A fraction representing "3/4".static BigFraction
BigFraction. TWO
A fraction representing "2 / 1".static BigFraction
BigFraction. TWO_FIFTHS
A fraction representing "2/5".static BigFraction
BigFraction. TWO_QUARTERS
A fraction representing "2/4".static BigFraction
BigFraction. TWO_THIRDS
A fraction representing "2/3".static BigFraction
BigFraction. ZERO
A fraction representing "0".Methods in org.apache.commons.math3.fraction that return BigFraction Modifier and Type Method Description BigFraction
BigFraction. abs()
Returns the absolute value of thisBigFraction
.BigFraction
BigFraction. add(int i)
Adds the value of this fraction to the passedinteger
, returning the result in reduced form.BigFraction
BigFraction. add(long l)
Adds the value of this fraction to the passedlong
, returning the result in reduced form.BigFraction
BigFraction. add(java.math.BigInteger bg)
Adds the value of this fraction to the passedBigInteger
, returning the result in reduced form.BigFraction
BigFraction. add(BigFraction fraction)
Adds the value of this fraction to another, returning the result in reduced form.BigFraction
BigFraction. divide(int i)
Divide the value of this fraction by the passedint
, iethis * 1 / i
, returning the result in reduced form.BigFraction
BigFraction. divide(long l)
Divide the value of this fraction by the passedlong
, iethis * 1 / l
, returning the result in reduced form.BigFraction
BigFraction. divide(java.math.BigInteger bg)
Divide the value of this fraction by the passedBigInteger
, iethis * 1 / bg
, 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
BigFractionField. getOne()
Get the multiplicative identity of the field.static BigFraction
BigFraction. getReducedFraction(int numerator, int denominator)
Creates aBigFraction
instance with the 2 parts of a fraction Y/Z.BigFraction
BigFractionField. getZero()
Get the additive identity of the field.BigFraction
BigFraction. multiply(int i)
Multiply the value of this fraction by the passedint
, returning the result in reduced form.BigFraction
BigFraction. multiply(long l)
Multiply the value of this fraction by the passedlong
, returning the result in reduced form.BigFraction
BigFraction. multiply(java.math.BigInteger bg)
Multiplies the value of this fraction by the passedBigInteger
, returning the result in reduced form.BigFraction
BigFraction. multiply(BigFraction fraction)
Multiplies the value of this fraction by another, 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(java.lang.String source)
Parses a string to produce aBigFraction
object.BigFraction
BigFractionFormat. parse(java.lang.String source, java.text.ParsePosition pos)
Parses a string to produce aBigFraction
object.BigFraction
ProperBigFractionFormat. parse(java.lang.String source, java.text.ParsePosition pos)
Parses a string to produce aBigFraction
object.BigFraction
BigFraction. pow(int exponent)
Returns aBigFraction
whose value is(this<sup>exponent</sup>)
, returning the result in reduced form.BigFraction
BigFraction. pow(long exponent)
Returns aBigFraction
whose value is (thisexponent), returning the result in reduced form.BigFraction
BigFraction. pow(java.math.BigInteger exponent)
Returns aBigFraction
whose value is (thisexponent), returning the result in reduced form.BigFraction
BigFraction. reciprocal()
Return the multiplicative inverse of this fraction.BigFraction
BigFraction. reduce()
Reduce thisBigFraction
to its lowest terms.BigFraction
BigFraction. subtract(int i)
Subtracts the value of aninteger
from the value of thisBigFraction
, returning the result in reduced form.BigFraction
BigFraction. subtract(long l)
Subtracts the value of along
from the value of thisBigFraction
, returning the result in reduced form.BigFraction
BigFraction. subtract(java.math.BigInteger bg)
Subtracts the value of anBigInteger
from the value of thisBigFraction
, 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.Methods in org.apache.commons.math3.fraction that return types with arguments of type BigFraction Modifier and Type Method Description java.lang.Class<? extends FieldElement<BigFraction>>
BigFractionField. getRuntimeClass()
Returns the runtime class of the FieldElement.Methods in org.apache.commons.math3.fraction with parameters of type BigFraction Modifier and Type Method 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.java.lang.StringBuffer
BigFractionFormat. format(BigFraction BigFraction, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
Formats aBigFraction
object to produce a string.java.lang.StringBuffer
ProperBigFractionFormat. format(BigFraction fraction, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
Formats aBigFraction
object to produce a string.static java.lang.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. -
Uses of BigFraction in org.apache.commons.math3.geometry.euclidean.threed
Methods in org.apache.commons.math3.geometry.euclidean.threed that return BigFraction Modifier and Type Method Description private BigFraction
SphereGenerator. minor(BigFraction[] c1, BigFraction[] c2, BigFraction[] c3)
Compute a dimension 4 minor, when 4th column is known to be filled with 1.0.Methods in org.apache.commons.math3.geometry.euclidean.threed with parameters of type BigFraction Modifier and Type Method Description private BigFraction
SphereGenerator. minor(BigFraction[] c1, BigFraction[] c2, BigFraction[] c3)
Compute a dimension 4 minor, when 4th column is known to be filled with 1.0. -
Uses of BigFraction in org.apache.commons.math3.geometry.euclidean.twod
Methods in org.apache.commons.math3.geometry.euclidean.twod that return BigFraction Modifier and Type Method Description private BigFraction
DiskGenerator. minor(BigFraction[] c1, BigFraction[] c2)
Compute a dimension 3 minor, when 3d column is known to be filled with 1.0.Methods in org.apache.commons.math3.geometry.euclidean.twod with parameters of type BigFraction Modifier and Type Method Description private BigFraction
DiskGenerator. minor(BigFraction[] c1, BigFraction[] c2)
Compute a dimension 3 minor, when 3d column is known to be filled with 1.0. -
Uses of BigFraction in org.apache.commons.math3.linear
Methods in org.apache.commons.math3.linear with parameters of type BigFraction Modifier and Type Method Description void
MatrixUtils.BigFractionMatrixConverter. visit(int row, int column, BigFraction value)
Visit one matrix entry.Method parameters in org.apache.commons.math3.linear with type arguments of type BigFraction Modifier and Type Method Description static Array2DRowRealMatrix
MatrixUtils. bigFractionMatrixToRealMatrix(FieldMatrix<BigFraction> m)
-
Uses of BigFraction in org.apache.commons.math3.ode.nonstiff
Methods in org.apache.commons.math3.ode.nonstiff that return types with arguments of type BigFraction Modifier and Type Method Description private FieldMatrix<BigFraction>
AdamsNordsieckTransformer. buildP(int rows)
Build the P matrix. -
Uses of BigFraction in org.apache.commons.math3.stat.inference
Methods in org.apache.commons.math3.stat.inference that return types with arguments of type BigFraction Modifier and Type Method Description private FieldMatrix<BigFraction>
KolmogorovSmirnovTest. createExactH(double d, int n)
CreatesH
of sizem x m
as described in [1] (see above).
-