Uses of Class
org.apache.sis.math.Fraction
-
Packages that use Fraction Package Description org.apache.sis.math A set of mathematical objects and algebraic utilities. -
-
Uses of Fraction in org.apache.sis.math
Methods in org.apache.sis.math that return Fraction Modifier and Type Method Description FractionFraction. add(Fraction other)Returns the simplified result of adding the given fraction to this fraction.FractionFraction. divide(Fraction other)Returns the simplified result of dividing this fraction by the given fraction.FractionFraction. multiply(Fraction other)Returns the simplified result of multiplying the given fraction with this fraction.FractionFraction. negate()Returns the negative value of this fraction.FractionFraction. simplify()Returns a fraction equivalent tothisbut represented by the smallest possible numerator and denominator values.FractionFraction. subtract(Fraction other)Returns the simplified result of subtracting the given fraction from this fraction.FractionFraction. unique()Returns a unique fraction instance equals tothis.static FractionFraction. valueOf(double value)Converts the given IEEE 754 double-precision value to a fraction.Methods in org.apache.sis.math with parameters of type Fraction Modifier and Type Method Description FractionFraction. add(Fraction other)Returns the simplified result of adding the given fraction to this fraction.intFraction. compareTo(Fraction other)Compares this fraction with the given one for order.FractionFraction. divide(Fraction other)Returns the simplified result of dividing this fraction by the given fraction.FractionFraction. multiply(Fraction other)Returns the simplified result of multiplying the given fraction with this fraction.FractionFraction. subtract(Fraction other)Returns the simplified result of subtracting the given fraction from this fraction.
-