Uses of Class
org.hipparchus.fraction.Fraction
- 
Packages that use Fraction Package Description org.hipparchus.fraction Fraction number type and fraction number formatting.org.hipparchus.linear Linear algebra support. - 
- 
Uses of Fraction in org.hipparchus.fraction
Fields in org.hipparchus.fraction declared as Fraction Modifier and Type Field Description static FractionFraction. FOUR_FIFTHSA fraction representing "4/5".static FractionFraction. MINUS_ONEA fraction representing "-1 / 1".static FractionFraction. ONEA fraction representing "1".static FractionFraction. ONE_FIFTHA fraction representing "1/5".static FractionFraction. ONE_HALFA fraction representing "1/2".static FractionFraction. ONE_QUARTERA fraction representing "1/4".static FractionFraction. ONE_THIRDA fraction representing "1/3".static FractionFraction. THREE_FIFTHSA fraction representing "3/5".static FractionFraction. THREE_QUARTERSA fraction representing "3/4".static FractionFraction. TWOA fraction representing "2 / 1".static FractionFraction. TWO_FIFTHSA fraction representing "2/5".static FractionFraction. TWO_QUARTERSA fraction representing "2/4".static FractionFraction. TWO_THIRDSA fraction representing "2/3".static FractionFraction. ZEROA fraction representing "0".Methods in org.hipparchus.fraction that return Fraction Modifier and Type Method Description FractionFraction. abs()Returns the absolute value of this fraction.FractionFraction. add(int i)Add an integer to the fraction.FractionFraction. add(Fraction fraction)Adds the value of this fraction to another, returning the result in reduced form.FractionFraction. divide(int i)Divide the fraction by an integer.FractionFraction. divide(Fraction fraction)Divide the value of this fraction by another.FractionFractionField. getOne()Get the multiplicative identity of the field.static FractionFraction. getReducedFraction(int numerator, int denominator)Creates aFractioninstance with the 2 parts of a fraction Y/Z.FractionFractionField. getZero()Get the additive identity of the field.FractionFraction. multiply(int i)Multiply the fraction by an integer.FractionFraction. multiply(Fraction fraction)Multiplies the value of this fraction by another, returning the result in reduced form.FractionFraction. negate()Return the additive inverse of this fraction.FractionFractionFormat. parse(String source)Parses a string to produce aFractionobject.FractionFractionFormat. parse(String source, ParsePosition pos)Parses a string to produce aFractionobject.FractionProperFractionFormat. parse(String source, ParsePosition pos)Parses a string to produce aFractionobject.FractionFraction. reciprocal()Return the multiplicative inverse of this fraction.FractionFraction. subtract(int i)Subtract an integer from the fraction.FractionFraction. subtract(Fraction fraction)Subtracts the value of another fraction from the value of this one, returning the result in reduced form.Methods in org.hipparchus.fraction that return types with arguments of type Fraction Modifier and Type Method Description Class<? extends FieldElement<Fraction>>FractionField. getRuntimeClass()Returns the runtime class of the FieldElement.Methods in org.hipparchus.fraction with parameters of type Fraction Modifier and Type Method Description FractionFraction. add(Fraction fraction)Adds the value of this fraction to another, returning the result in reduced form.intFraction. compareTo(Fraction object)Compares this object to another based on size.FractionFraction. divide(Fraction fraction)Divide the value of this fraction by another.StringBufferFractionFormat. format(Fraction fraction, StringBuffer toAppendTo, FieldPosition pos)Formats aFractionobject to produce a string.StringBufferProperFractionFormat. format(Fraction fraction, StringBuffer toAppendTo, FieldPosition pos)Formats aFractionobject to produce a string.static StringFractionFormat. formatFraction(Fraction f)This static method calls formatFraction() on a default instance of FractionFormat.FractionFraction. multiply(Fraction fraction)Multiplies the value of this fraction by another, returning the result in reduced form.FractionFraction. subtract(Fraction fraction)Subtracts the value of another fraction from the value of this one, returning the result in reduced form. - 
Uses of Fraction in org.hipparchus.linear
Method parameters in org.hipparchus.linear with type arguments of type Fraction Modifier and Type Method Description static Array2DRowRealMatrixMatrixUtils. fractionMatrixToRealMatrix(FieldMatrix<Fraction> m) 
 -