public abstract class ARing<E> extends Object implements Ring<E>
Constructor and Description |
---|
ARing() |
Modifier and Type | Method and Description |
---|---|
boolean |
isPerfectPower()
Returns whether the cardinality is a perfect power (p^k with k > 1)
|
BigInteger |
perfectPowerBase()
Returns
base so that cardinality == base^exponent or null if cardinality is not finite |
BigInteger |
perfectPowerExponent()
Returns
exponent so that cardinality == base^exponent or null if cardinality is not finite |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abs, add, add, addMutable, cardinality, characteristic, copy, createArray, createArray, createArray, createArray, createArray2d, createArray2d, createZeroesArray, createZeroesArray2d, decrement, divideAndRemainder, divideExact, divideExactMutable, divideOrNull, extendedGCD, factor, factorial, factorSquareFree, fillZeros, firstBezoutCoefficient, gcd, gcd, gcd, getNegativeOne, getOne, getZero, increment, isEuclideanRing, isField, isFinite, isFiniteField, isMinusOne, isOne, isUnit, isUnitOrZero, isZero, iterator, lcm, lcm, lcm, max, min, multiply, multiply, multiply, multiply, multiplyMutable, negate, negateMutable, parse, pow, pow, pow, quotient, randomElement, randomElement, randomElementTree, randomElementTree, randomNonZeroElement, reciprocal, remainder, setToValueOf, signum, subtract, subtractMutable, valueOf, valueOf, valueOf, valueOfBigInteger
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
forEach, spliterator
toString
public boolean isPerfectPower()
Ring
isPerfectPower
in interface Ring<E>
public BigInteger perfectPowerBase()
Ring
base
so that cardinality == base^exponent
or null if cardinality is not finiteperfectPowerBase
in interface Ring<E>
base
so that cardinality == base^exponent
or null if cardinality is not finitepublic BigInteger perfectPowerExponent()
Ring
exponent
so that cardinality == base^exponent
or null if cardinality is not finiteperfectPowerExponent
in interface Ring<E>
exponent
so that cardinality == base^exponent
or null if cardinality is not finiteCopyright © 2018. All rights reserved.