Uses of Class
org.apache.sis.math.Fraction
Packages that use Fraction
Package
Description
Default set of
ObjectConverter implementations.A set of mathematical objects and algebraic utilities.
-
Uses of Fraction in org.apache.sis.internal.converter
Methods in org.apache.sis.internal.converter that return FractionModifier and TypeMethodDescriptionCreates a new fraction from the given integer.Methods in org.apache.sis.internal.converter that return types with arguments of type FractionModifier and TypeMethodDescriptionFractionConverter.FromInteger.inverse()FractionConverter.inverse()Returns the converter from integers to fractions.FractionConverter.FromInteger.unique()FractionConverter.unique()Returns the unique instance of this converter.Methods in org.apache.sis.internal.converter with parameters of type 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 tothisbut 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 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 FractionModifier and TypeMethodDescriptionReturns the simplified result of adding the given fraction to this fraction.intCompares 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.