Uses of Class
org.apache.sis.math.Fraction
Packages that use Fraction
-
Uses of Fraction in org.apache.sis.math
Methods in org.apache.sis.math that return FractionModifier and TypeMethodDescriptionReturns the simplified result of adding the given fraction to this fraction.Returns the simplified result of dividing this fraction by the given fraction.Returns the simplified result of multiplying the given fraction with this fraction.Fraction.negate()
Returns the negative value of this fraction.Fraction.simplify()
Returns a fraction equivalent tothis
but represented by the smallest possible numerator and denominator values.Returns the simplified result of subtracting the given fraction from this fraction.Fraction.unique()
Returns a unique fraction instance equals tothis
.static Fraction
Fraction.valueOf
(double value) Converts the given IEEE 754 double-precision value to a fraction.Methods in org.apache.sis.math with parameters of type FractionModifier and TypeMethodDescriptionReturns the simplified result of adding the given fraction to this fraction.int
Compares this fraction with the given one for order.Returns the simplified result of dividing this fraction by the given fraction.Returns the simplified result of multiplying the given fraction with this fraction.Returns the simplified result of subtracting the given fraction from this fraction.