Uses of Class
eu.bandm.tools.ops.PrimeFactors
Packages that use PrimeFactors
Package
Description
Types for fundamental mathematical structures, plus libraries of respective
constants and operators.
-
Uses of PrimeFactors in eu.bandm.tools.ops
Fields in eu.bandm.tools.ops declared as PrimeFactorsModifier and TypeFieldDescriptionstatic final PrimeFactors
PrimeFactors.ONE
static final PrimeFactors
PrimeFactors.TWO
Fields in eu.bandm.tools.ops with type parameters of type PrimeFactorsModifier and TypeFieldDescriptionstatic final Comparator
<PrimeFactors> PrimeFactors.byIntValue
static final Comparator
<PrimeFactors> PrimeFactors.byRatValue
protected static Map
<Integer, PrimeFactors> PrimeFactors.cache_int
protected static Map
<Rational, PrimeFactors> PrimeFactors.cache_rat
Methods in eu.bandm.tools.ops that return PrimeFactorsModifier and TypeMethodDescriptionPrimeFactors.add
(int base, int exp) Return an instance with the base and exponent overwritten.PrimeFactors.divide
(PrimeFactors b) Subtract exponents, ie.PrimeFactors.getDenominator()
PrimeFactors.getNumerator()
PrimeFactors.integerGCD
(PrimeFactors b) Return an instance with the more negative exponents of both arguments.PrimeFactors.integerLCM
(PrimeFactors b) Return an instance with the more positive exponents of both arguments.PrimeFactors.multiply
(PrimeFactors b) Add exponents, ie.static PrimeFactors
PrimeFactors.of
(int value) Central service provider and also the implementation: Calculate the prime factors, cache and return them.static PrimeFactors
Returns the prime factor map for the given value.static PrimeFactors
PrimeFactors.of
(BigInteger bi) Central service provider: Calculate the prime factors and return them as an immutable instance.PrimeFactors.with
(int base, int exp) Return an instance with the base and exponent overwritten.PrimeFactors.without
(int p) Remove basis from domain.Methods in eu.bandm.tools.ops with parameters of type PrimeFactorsModifier and TypeMethodDescriptionint
PrimeFactors.cmp
(PrimeFactors other) Returns -1/0/+1 for inclusion or equality, negative exponents are smaller than positives, and returns a different int (hereUNCOMPARABLE
) iff not comparable.PrimeFactors.divide
(PrimeFactors b) Subtract exponents, ie.boolean
PrimeFactors.equals
(PrimeFactors b) PrimeFactors.integerGCD
(PrimeFactors b) Return an instance with the more negative exponents of both arguments.PrimeFactors.integerLCM
(PrimeFactors b) Return an instance with the more positive exponents of both arguments.boolean
PrimeFactors.isIntegerMultipleOf
(PrimeFactors b) Returns whether arg is a factor of thisPrimeFactors.multiply
(PrimeFactors b) Add exponents, ie.