Uses of Class
eu.bandm.tools.util.Rational
Packages that use Rational
Package
Description
Types for fundamental mathematical structures, plus libraries of respective
constants and operators.
Runtime library for generated option processing code: building blocks for
parsing and GUI.
Collection of mostly unrelated, tiny, ubiquitously needed
auxiliary classes for many different purposes.
Ubiquitously needed auxiliary classes which need the
eu.bandm.tools.message package.-
Uses of Rational in eu.bandm.tools.ops
Fields in eu.bandm.tools.ops with type parameters of type RationalModifier and TypeFieldDescriptionprotected static Map<Rational,PrimeFactors> PrimeFactors.cache_ratMethods in eu.bandm.tools.ops that return RationalMethods in eu.bandm.tools.ops with parameters of type RationalModifier and TypeMethodDescriptionstatic booleanPrimeFactors.isPrimePower(Rational r) Whether the argument is a power (possibly with an exponent ==0) of only one single basis.static PrimeFactorsReturns the prime factor map for the given value. -
Uses of Rational in eu.bandm.tools.option.runtime
Fields in eu.bandm.tools.option.runtime declared as RationalModifier and TypeFieldDescriptionprotected static final RationalModel.dummyRatDummy value returned in case of parsing error.Methods in eu.bandm.tools.option.runtime that return RationalModifier and TypeMethodDescriptionGui.Field_rational.get_value()protected RationalModel.parseRational()Parser function, only called from the compiled code when a rational argument representation must necessarily be consumed, according to the current option's type grammar.Methods in eu.bandm.tools.option.runtime with parameters of type Rational -
Uses of Rational in eu.bandm.tools.util
Fields in eu.bandm.tools.util declared as RationalModifier and TypeFieldDescriptionstatic final RationalRational.ONEevidentstatic final RationalRational.ONE_HALFevidentstatic final RationalRational.TWOevidentstatic final RationalRational.ZEROevidentFields in eu.bandm.tools.util with type parameters of type RationalModifier and TypeFieldDescriptionstatic final GenMonoid<BigInteger,Rational> Rational.additionevidentstatic final GenMonoid<BigInteger,Rational> Rational.multiplicationevidentMethods in eu.bandm.tools.util that return RationalModifier and TypeMethodDescriptionRational.abs()Return the absolute (positive) valueReturn the normalized addition result.Rational.divide(long factor) Return the normalized division result.Return the normalized division result.Rational.inverse()Return the normalized inverse result.Return the larger of this and x.Return the smaller of this and x.FIXME ???Rational.multiply(long factor) Return the normalized multiplication result.Return the normalized multiplication result.Rational.negate()Return the normalized negation.Rational.power(int n) Return the normalized power of this to the exponent n.Return the normalized subtraction result.static final RationalRational.valueOf(long n) evidentstatic final RationalRational.valueOf(long n, long d) evidentstatic final RationalParser.static final RationalRational.valueOf(BigDecimal n) evidentstatic final RationalRational.valueOf(BigInteger n) evident.static final RationalRational.valueOf(BigInteger n, BigInteger d) evidentMethods in eu.bandm.tools.util with parameters of type RationalModifier and TypeMethodDescriptionReturn the normalized addition result.intReturn the comparison result of this and x, from {-1,0,+1}.Return the normalized division result.Return the larger of this and x.Return the smaller of this and x.FIXME ???Return the normalized multiplication result.Return the normalized subtraction result. -
Uses of Rational in eu.bandm.tools.util2
Fields in eu.bandm.tools.util2 with type parameters of type RationalModifier and TypeFieldDescriptionprotected static Map<Rational,PrimeFactors> PrimeFactors.cache_ratMethods in eu.bandm.tools.util2 that return RationalMethods in eu.bandm.tools.util2 with parameters of type Rational