Uses of Class
org.apache.sis.math.Fraction
Packages that use Fraction
Package
Description
Filters features according their properties.
Default set of
ObjectConverter implementations.A set of mathematical objects and algebraic utilities.
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
-
Uses of Fraction in org.apache.sis.filter
Methods in org.apache.sis.filter with parameters of type FractionModifier and TypeMethodDescriptionprotected NumberArithmeticFunction.Add.applyAsFraction(Fraction left, Fraction right) protected NumberArithmeticFunction.Divide.applyAsFraction(Fraction left, Fraction right) protected NumberArithmeticFunction.Multiply.applyAsFraction(Fraction left, Fraction right) protected NumberArithmeticFunction.Subtract.applyAsFraction(Fraction left, Fraction right) protected NumberBinaryFunction.applyAsFraction(Fraction left, Fraction right) Calculates this function using given operands ofFractiontype.protected final NumberComparisonFilter.applyAsFraction(Fraction left, Fraction right) -
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
Fields in org.apache.sis.math with type parameters of type FractionModifier and TypeFieldDescriptionprivate static final WeakHashSet<Fraction>Fraction.POOLPool of fractions for which theunique()method has been invoked.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.private static FractionReturns a fraction equivalent tonum/denafter simplification.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.private static FractionReturns a fraction equivalent tonum/denafter simplification.Returns the simplified result of subtracting the given fraction from this fraction. -
Uses of Fraction in org.apache.sis.measure
Fields in org.apache.sis.measure with type parameters of type FractionModifier and TypeFieldDescription(package private) final Map<UnitDimension,Fraction> UnitDimension.componentsThe product of base dimensions that make this dimension.Methods in org.apache.sis.measure that return types with arguments of type FractionModifier and TypeMethodDescriptionUnitDimension.getBaseDimensions(javax.measure.Dimension dimension) Returns the base dimensions and their exponents whose product make the given dimension.(package private) abstract Map<SystemUnit<?>,Fraction> AbstractUnit.getBaseSystemUnits()Returns the base units used by Apache SIS implementations.(package private) final Map<SystemUnit<?>,Fraction> ConventionalUnit.getBaseSystemUnits()Returns the base units used by Apache SIS implementations.(package private) final Map<SystemUnit<?>,Fraction> SystemUnit.getBaseSystemUnits()Returns the base units used by Apache SIS implementations.Methods in org.apache.sis.measure with parameters of type FractionModifier and TypeMethodDescription(package private) voidUnitFormat.Style.appendPower(Appendable toAppendTo, Fraction power) Appends a rational power.private UnitDimensionReturns this dimension raised to an exponent.Method parameters in org.apache.sis.measure with type arguments of type FractionModifier and TypeMethodDescriptionprivate static UnitDimensionUnitDimension.create(Map<UnitDimension, Fraction> components) Creates a new derived dimension from the given product of base dimensions with their power.(package private) static voidUnitRegistry.init(Map<UnitDimension, Fraction> components, UnitDimension dim) Adds the givencomponents,dimpair in the map of hard-coded values.Constructor parameters in org.apache.sis.measure with type arguments of type FractionModifierConstructorDescriptionprivateUnitDimension(Map<UnitDimension, Fraction> components) Creates a new derived dimension.