C - coefficient type.public class ResidueSolvablePolynomialRing<C extends GcdRingElem<C>> extends GenSolvablePolynomialRing<SolvableResidue<C>>
| Modifier and Type | Field and Description |
|---|---|
ResidueSolvablePolynomial<C> |
ONE
The constant polynomial 1 for this ring.
|
RecSolvablePolynomialRing<C> |
polCoeff
Recursive solvable polynomial ring with polynomial coefficients.
|
ResidueSolvablePolynomial<C> |
ZERO
The constant polynomial 0 for this ring.
|
table| Constructor and Description |
|---|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
int n)
The constructor creates a solvable polynomial factory object with the
default term order and commutative relations.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
int n,
RelationTable<SolvableResidue<C>> rt)
The constructor creates a solvable polynomial factory object with the
default term order.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
int n,
TermOrder t)
The constructor creates a solvable polynomial factory object with the
given term order and commutative relations.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
int n,
TermOrder t,
RelationTable<SolvableResidue<C>> rt)
The constructor creates a solvable polynomial factory object with the
given term order.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
int n,
TermOrder t,
java.lang.String[] v)
The constructor creates a solvable polynomial factory object with the
given term order and commutative relations.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
int n,
TermOrder t,
java.lang.String[] v,
RelationTable<SolvableResidue<C>> rt)
The constructor creates a solvable polynomial factory object with the
given term order.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
ResidueSolvablePolynomialRing o)
The constructor creates a solvable polynomial factory object with the the
same term order, number of variables and variable names as the given
polynomial factory, only the coefficient factories differ and the
solvable multiplication relations are empty.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
java.lang.String[] v)
The constructor creates a solvable polynomial factory object with the
default term order.
|
ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf,
TermOrder t,
java.lang.String[] v)
The constructor creates a solvable polynomial factory object with the
given term order and commutative relations.
|
| Modifier and Type | Method and Description |
|---|---|
ResidueSolvablePolynomialRing<C> |
contract(int i)
Contract variables.
|
ResidueSolvablePolynomial<C> |
copy(ResidueSolvablePolynomial<C> c)
Copy polynomial c.
|
boolean |
equals(java.lang.Object other)
Comparison with any other object.
|
ResidueSolvablePolynomialRing<C> |
extend(int i)
Extend variables.
|
ResidueSolvablePolynomialRing<C> |
extend(java.lang.String[] vs)
Extend variables.
|
ResidueSolvablePolynomial<C> |
fromInteger(java.math.BigInteger a)
Get a (constant) ResidueSolvablePolynomial<C> element from a
BigInteger value.
|
ResidueSolvablePolynomial<C> |
fromInteger(long a)
Get a (constant) ResidueSolvablePolynomial<C> element from a long
value.
|
ResidueSolvablePolynomial<C> |
fromPolyCoefficients(GenSolvablePolynomial<GenPolynomial<C>> A)
Solvable residue coefficients from integral polynomial coefficients.
|
ResidueSolvablePolynomial<C> |
getONE()
Get the one element.
|
ResidueSolvablePolynomial<C> |
getZERO()
Get the zero element.
|
int |
hashCode()
Hash code for this polynomial ring.
|
boolean |
isAssociative()
Query if this ring is associative.
|
boolean |
isCommutative()
Query if this ring is commutative.
|
ResidueSolvablePolynomial<C> |
parse(java.io.Reader r)
Parse a solvable polynomial with the use of GenPolynomialTokenizer
|
ResidueSolvablePolynomial<C> |
parse(java.lang.String s)
Parse a solvable polynomial with the use of GenPolynomialTokenizer
|
ResidueSolvablePolynomial<C> |
random(int n)
Random solvable polynomial.
|
ResidueSolvablePolynomial<C> |
random(int k,
int l,
int d,
float q)
Generate a random solvable polynomial.
|
ResidueSolvablePolynomial<C> |
random(int k,
int l,
int d,
float q,
java.util.Random rnd)
Random solvable polynomial.
|
ResidueSolvablePolynomial<C> |
random(int n,
java.util.Random rnd)
Random solvable polynomial.
|
java.util.List<ResidueSolvablePolynomial<C>> |
recUnivariateList()
Generate list of univariate polynomials in all variables.
|
java.util.List<ResidueSolvablePolynomial<C>> |
recUnivariateList(int modv)
Generate list of univariate polynomials in all variables.
|
java.util.List<ResidueSolvablePolynomial<C>> |
recUnivariateList(int modv,
long e)
Generate list of univariate polynomials in all variables with given
exponent.
|
ResidueSolvablePolynomialRing<C> |
reverse()
Reverse variables.
|
ResidueSolvablePolynomialRing<C> |
reverse(boolean partial)
Reverse variables.
|
RecSolvablePolynomial<C> |
toPolyCoefficients(GenPolynomial<SolvableResidue<C>> A)
Integral function from solvable residue coefficients.
|
RecSolvablePolynomial<C> |
toPolyCoefficients(ResidueSolvablePolynomial<C> A)
Integral function from solvable residue coefficients.
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
Get the String representation.
|
ResidueSolvablePolynomial<C> |
univariate(int i)
Generate univariate solvable polynomial in a given variable.
|
ResidueSolvablePolynomial<C> |
univariate(int modv,
int i,
long e)
Generate univariate solvable polynomial in a given variable with given
exponent.
|
ResidueSolvablePolynomial<C> |
univariate(int i,
long e)
Generate univariate solvable polynomial in a given variable with given
exponent.
|
addRelations, addRelations, addSolvRelations, copy, distribute, permutation, recursive, univariateList, univariateList, univariateList, valueOf, valueOf, valueOfaddVars, characteristic, copy, copy, copy, extendLower, extendLower, generators, generators, getComparator, getComparator, getCreations, getGenerators, getONECoefficient, getVars, getZEROCoefficient, isField, isFinite, iterator, newVars, newVars, newVars, newVars, permuteVars, setVars, toScript, univariate, univariate, varsToStringpublic final RecSolvablePolynomialRing<C extends GcdRingElem<C>> polCoeff
public final ResidueSolvablePolynomial<C extends GcdRingElem<C>> ZERO
public final ResidueSolvablePolynomial<C extends GcdRingElem<C>> ONE
public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, int n)
cf - factory for coefficients of type C.n - number of variables.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, int n, RelationTable<SolvableResidue<C>> rt)
cf - factory for coefficients of type C.n - number of variables.rt - solvable multiplication relations.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, int n, TermOrder t)
cf - factory for coefficients of type C.n - number of variables.t - a term order.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, int n, TermOrder t, RelationTable<SolvableResidue<C>> rt)
cf - factory for coefficients of type C.n - number of variables.t - a term order.rt - solvable multiplication relations.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, int n, TermOrder t, java.lang.String[] v)
cf - factory for coefficients of type C.n - number of variables.t - a term order.v - names for the variables.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, TermOrder t, java.lang.String[] v)
cf - factory for coefficients of type C.t - a term order.v - names for the variables.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, java.lang.String[] v)
cf - factory for coefficients of type C.v - names for the variables.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, int n, TermOrder t, java.lang.String[] v, RelationTable<SolvableResidue<C>> rt)
cf - factory for coefficients of type C.n - number of variables.t - a term order.v - names for the variables.rt - solvable multiplication relations.public ResidueSolvablePolynomialRing(RingFactory<SolvableResidue<C>> cf, ResidueSolvablePolynomialRing o)
cf - factory for coefficients of type C.o - other solvable polynomial ring.public java.lang.String toString()
toString in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>Object.toString()public java.lang.String toScript()
toScript in interface ElemFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>toScript in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>Element.toScript()public boolean equals(java.lang.Object other)
equals in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>Object.equals(java.lang.Object)public int hashCode()
hashCode in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>Object.hashCode()public ResidueSolvablePolynomial<C> getZERO()
getZERO in interface AbelianGroupFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>getZERO in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>public ResidueSolvablePolynomial<C> getONE()
getONE in interface MonoidFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>getONE in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>public boolean isCommutative()
isCommutative in interface MonoidFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>isCommutative in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>public boolean isAssociative()
isAssociative in interface MonoidFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>isAssociative in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>public ResidueSolvablePolynomial<C> fromInteger(long a)
fromInteger in interface ElemFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>fromInteger in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>a - long.public ResidueSolvablePolynomial<C> fromInteger(java.math.BigInteger a)
fromInteger in interface ElemFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>fromInteger in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>a - BigInteger.public ResidueSolvablePolynomial<C> random(int n)
random in interface ElemFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>random in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>n - number of terms.public ResidueSolvablePolynomial<C> random(int n, java.util.Random rnd)
random in interface ElemFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>random in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>n - number of terms.rnd - is a source for random bits.public ResidueSolvablePolynomial<C> random(int k, int l, int d, float q)
random in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>k - bitsize of random coefficients.l - number of terms.d - maximal degree in each variable.q - density of nozero exponents.public ResidueSolvablePolynomial<C> random(int k, int l, int d, float q, java.util.Random rnd)
random in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>k - size of random coefficients.l - number of terms.d - maximal degree in each variable.q - density of nozero exponents.rnd - is a source for random bits.public ResidueSolvablePolynomial<C> copy(ResidueSolvablePolynomial<C> c)
c - public ResidueSolvablePolynomial<C> parse(java.lang.String s)
parse in interface ElemFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>parse in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>s - String.public ResidueSolvablePolynomial<C> parse(java.io.Reader r)
parse in interface ElemFactory<GenPolynomial<SolvableResidue<C extends GcdRingElem<C>>>>parse in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>r - Reader.public ResidueSolvablePolynomial<C> univariate(int i)
univariate in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>i - the index of the variable.public ResidueSolvablePolynomial<C> univariate(int i, long e)
univariate in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>i - the index of the variable.e - the exponent of the variable.public ResidueSolvablePolynomial<C> univariate(int modv, int i, long e)
univariate in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>modv - number of module variables.i - the index of the variable.e - the exponent of the variable.public java.util.List<ResidueSolvablePolynomial<C>> recUnivariateList()
public java.util.List<ResidueSolvablePolynomial<C>> recUnivariateList(int modv)
modv - number of module variables.public java.util.List<ResidueSolvablePolynomial<C>> recUnivariateList(int modv, long e)
modv - number of module variables.e - the exponent of the variables.public ResidueSolvablePolynomialRing<C> extend(int i)
extend in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>i - number of variables to extend.public ResidueSolvablePolynomialRing<C> extend(java.lang.String[] vs)
extend in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>vs - names for extended variables.public ResidueSolvablePolynomialRing<C> contract(int i)
contract in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>i - number of variables to remove.public ResidueSolvablePolynomialRing<C> reverse()
reverse in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>public ResidueSolvablePolynomialRing<C> reverse(boolean partial)
reverse in class GenSolvablePolynomialRing<SolvableResidue<C extends GcdRingElem<C>>>partial - true for partialy reversed term orders.public ResidueSolvablePolynomial<C> fromPolyCoefficients(GenSolvablePolynomial<GenPolynomial<C>> A)
A - polynomial with integral polynomial coefficients to be
converted.public RecSolvablePolynomial<C> toPolyCoefficients(ResidueSolvablePolynomial<C> A)
A - polynomial with solvable residue coefficients to be converted.public RecSolvablePolynomial<C> toPolyCoefficients(GenPolynomial<SolvableResidue<C>> A)
A - polynomial with solvable residue coefficients to be converted.