public interface IPolynomialRing<Poly extends IPolynomial<Poly>> extends Ring<Poly>
| Modifier and Type | Method and Description |
|---|---|
Poly |
factory()
Factory polynomial
|
default Coder<Poly,?,?> |
mkCoder(String... variables)
Simple coder for this ring
|
int |
nVariables()
Number of polynomial variables
|
default Poly |
parse(String string,
String... variables)
Parse poly from string using specified variables representation
|
default int |
signum(Poly element)
Returns -1 if
element < 0, 0 if element == 0 and 1 if element > 0, where comparison is
specified by Comparator.compare(Object, Object) |
Poly |
variable(int variable)
Creates poly representing a single specified variable
|
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, isPerfectPower, isUnit, isUnitOrZero, isZero, iterator, lcm, lcm, lcm, max, min, multiply, multiply, multiply, multiply, multiplyMutable, negate, negateMutable, parse, perfectPowerBase, perfectPowerExponent, pow, pow, pow, quotient, randomElement, randomElement, randomElementTree, randomElementTree, randomNonZeroElement, reciprocal, remainder, setToValueOf, subtract, subtractMutable, valueOf, valueOf, valueOf, valueOfBigIntegercompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongforEach, spliteratortoStringint nVariables()
Poly factory()
Poly variable(int variable)
default int signum(Poly element)
Ringelement < 0, 0 if element == 0 and 1 if element > 0, where comparison is
specified by Comparator.compare(Object, Object)signum in interface Ring<Poly extends IPolynomial<Poly>>element - the elementelement < 0, 0 if element == 0 and 1 otherwisedefault Poly parse(String string, String... variables)
Copyright © 2022. All rights reserved.