C - coefficient type.public class QuotSolvablePolynomialRing<C extends GcdRingElem<C>> extends GenSolvablePolynomialRing<SolvableQuotient<C>>
| Modifier and Type | Field and Description |
|---|---|
QuotSolvablePolynomial<C> |
ONE
The constant polynomial 1 for this ring.
|
RecSolvablePolynomialRing<C> |
polCoeff
Recursive solvable polynomial ring with polynomial coefficients.
|
QuotSolvablePolynomial<C> |
ZERO
The constant polynomial 0 for this ring.
|
table| Constructor and Description |
|---|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
GenSolvablePolynomialRing 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.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
int n)
The constructor creates a solvable polynomial factory object with the
default term order and commutative relations.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
int n,
RelationTable<SolvableQuotient<C>> rt)
The constructor creates a solvable polynomial factory object with the
default term order.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
int n,
TermOrder t)
The constructor creates a solvable polynomial factory object with the
given term order and commutative relations.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
int n,
TermOrder t,
RelationTable<SolvableQuotient<C>> rt)
The constructor creates a solvable polynomial factory object with the
given term order.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<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.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
int n,
TermOrder t,
java.lang.String[] v,
RelationTable<SolvableQuotient<C>> rt)
The constructor creates a solvable polynomial factory object with the
given term order.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
QuotSolvablePolynomialRing 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.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf,
java.lang.String[] v)
The constructor creates a solvable polynomial factory object with the
default term order.
|
QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<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 |
|---|---|
QuotSolvablePolynomialRing<C> |
contract(int i)
Contract variables.
|
QuotSolvablePolynomial<C> |
copy(QuotSolvablePolynomial<C> c)
Copy polynomial c.
|
boolean |
equals(java.lang.Object other)
Comparison with any other object.
|
QuotSolvablePolynomialRing<C> |
extend(int i)
Extend variables.
|
QuotSolvablePolynomial<C> |
fromInteger(java.math.BigInteger a)
Get a (constant) QuotSolvablePolynomial<C> element from a
BigInteger value.
|
QuotSolvablePolynomial<C> |
fromInteger(long a)
Get a (constant) QuotSolvablePolynomial<C> element from a long
value.
|
QuotSolvablePolynomial<C> |
fromPolyCoefficients(GenSolvablePolynomial<GenPolynomial<C>> A)
Rational function from integral polynomial coefficients.
|
QuotSolvablePolynomial<C> |
getONE()
Get the one element.
|
QuotSolvablePolynomial<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.
|
QuotSolvablePolynomial<C> |
parse(java.io.Reader r)
Parse a solvable polynomial with the use of GenPolynomialTokenizer
|
QuotSolvablePolynomial<C> |
parse(java.lang.String s)
Parse a solvable polynomial with the use of GenPolynomialTokenizer
|
QuotSolvablePolynomial<C> |
random(int n)
Random solvable polynomial.
|
QuotSolvablePolynomial<C> |
random(int k,
int l,
int d,
float q)
Generate a random solvable polynomial.
|
QuotSolvablePolynomial<C> |
random(int k,
int l,
int d,
float q,
java.util.Random rnd)
Random solvable polynomial.
|
QuotSolvablePolynomial<C> |
random(int n,
java.util.Random rnd)
Random solvable polynomial.
|
java.util.List<QuotSolvablePolynomial<C>> |
recUnivariateList()
Generate list of univariate polynomials in all variables.
|
java.util.List<QuotSolvablePolynomial<C>> |
recUnivariateList(int modv)
Generate list of univariate polynomials in all variables.
|
java.util.List<QuotSolvablePolynomial<C>> |
recUnivariateList(int modv,
long e)
Generate list of univariate polynomials in all variables with given
exponent.
|
QuotSolvablePolynomialRing<C> |
reverse()
Reverse variables.
|
QuotSolvablePolynomialRing<C> |
reverse(boolean partial)
Reverse variables.
|
RecSolvablePolynomial<C> |
toPolyCoefficients(GenPolynomial<SolvableQuotient<C>> A)
Integral function from rational polynomial coefficients.
|
RecSolvablePolynomial<C> |
toPolyCoefficients(QuotSolvablePolynomial<C> A)
Integral function from rational polynomial coefficients.
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
Get the String representation.
|
QuotSolvablePolynomial<C> |
univariate(int i)
Generate univariate solvable polynomial in a given variable.
|
QuotSolvablePolynomial<C> |
univariate(int modv,
int i,
long e)
Generate univariate solvable polynomial in a given variable with given
exponent.
|
QuotSolvablePolynomial<C> |
univariate(int i,
long e)
Generate univariate solvable polynomial in a given variable with given
exponent.
|
addRelations, addRelations, addSolvRelations, copy, distribute, extend, 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 QuotSolvablePolynomial<C extends GcdRingElem<C>> ZERO
public final QuotSolvablePolynomial<C extends GcdRingElem<C>> ONE
public QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, int n)
cf - factory for coefficients of type C.n - number of variables.public QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, int n, RelationTable<SolvableQuotient<C>> rt)
cf - factory for coefficients of type C.n - number of variables.rt - solvable multiplication relations.public QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, int n, TermOrder t)
cf - factory for coefficients of type C.n - number of variables.t - a term order.public QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, int n, TermOrder t, RelationTable<SolvableQuotient<C>> rt)
cf - factory for coefficients of type C.n - number of variables.t - a term order.rt - solvable multiplication relations.public QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<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 QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<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 QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, java.lang.String[] v)
cf - factory for coefficients of type C.v - names for the variables.public QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, int n, TermOrder t, java.lang.String[] v, RelationTable<SolvableQuotient<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 QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, GenSolvablePolynomialRing o)
cf - factory for coefficients of type C.o - other solvable polynomial ring.public QuotSolvablePolynomialRing(RingFactory<SolvableQuotient<C>> cf, QuotSolvablePolynomialRing o)
cf - factory for coefficients of type C.o - other solvable polynomial ring.public java.lang.String toString()
toString in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>Object.toString()public java.lang.String toScript()
toScript in interface ElemFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>toScript in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>Element.toScript()public boolean equals(java.lang.Object other)
equals in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>Object.equals(java.lang.Object)public int hashCode()
hashCode in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>Object.hashCode()public QuotSolvablePolynomial<C> getZERO()
getZERO in interface AbelianGroupFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>getZERO in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>public QuotSolvablePolynomial<C> getONE()
getONE in interface MonoidFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>getONE in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>public boolean isCommutative()
isCommutative in interface MonoidFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>isCommutative in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>public boolean isAssociative()
isAssociative in interface MonoidFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>isAssociative in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>public QuotSolvablePolynomial<C> fromInteger(long a)
fromInteger in interface ElemFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>fromInteger in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>a - long.public QuotSolvablePolynomial<C> fromInteger(java.math.BigInteger a)
fromInteger in interface ElemFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>fromInteger in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>a - BigInteger.public QuotSolvablePolynomial<C> random(int n)
random in interface ElemFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>random in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>n - number of terms.public QuotSolvablePolynomial<C> random(int n, java.util.Random rnd)
random in interface ElemFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>random in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>n - number of terms.rnd - is a source for random bits.public QuotSolvablePolynomial<C> random(int k, int l, int d, float q)
random in class GenSolvablePolynomialRing<SolvableQuotient<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 QuotSolvablePolynomial<C> random(int k, int l, int d, float q, java.util.Random rnd)
random in class GenSolvablePolynomialRing<SolvableQuotient<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 QuotSolvablePolynomial<C> copy(QuotSolvablePolynomial<C> c)
c - public QuotSolvablePolynomial<C> parse(java.lang.String s)
parse in interface ElemFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>parse in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>s - String.public QuotSolvablePolynomial<C> parse(java.io.Reader r)
parse in interface ElemFactory<GenPolynomial<SolvableQuotient<C extends GcdRingElem<C>>>>parse in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>r - Reader.public QuotSolvablePolynomial<C> univariate(int i)
univariate in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>i - the index of the variable.public QuotSolvablePolynomial<C> univariate(int i, long e)
univariate in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>i - the index of the variable.e - the exponent of the variable.public QuotSolvablePolynomial<C> univariate(int modv, int i, long e)
univariate in class GenSolvablePolynomialRing<SolvableQuotient<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<QuotSolvablePolynomial<C>> recUnivariateList()
public java.util.List<QuotSolvablePolynomial<C>> recUnivariateList(int modv)
modv - number of module variables.public java.util.List<QuotSolvablePolynomial<C>> recUnivariateList(int modv, long e)
modv - number of module variables.e - the exponent of the variables.public QuotSolvablePolynomialRing<C> extend(int i)
extend in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>i - number of variables to extend.public QuotSolvablePolynomialRing<C> contract(int i)
contract in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>i - number of variables to remove.public QuotSolvablePolynomialRing<C> reverse()
reverse in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>public QuotSolvablePolynomialRing<C> reverse(boolean partial)
reverse in class GenSolvablePolynomialRing<SolvableQuotient<C extends GcdRingElem<C>>>partial - true for partialy reversed term orders.public QuotSolvablePolynomial<C> fromPolyCoefficients(GenSolvablePolynomial<GenPolynomial<C>> A)
A - polynomial with integral polynomial coefficients to be
converted.public RecSolvablePolynomial<C> toPolyCoefficients(QuotSolvablePolynomial<C> A)
A - polynomial with rational polynomial coefficients to be
converted.public RecSolvablePolynomial<C> toPolyCoefficients(GenPolynomial<SolvableQuotient<C>> A)
A - polynomial with rational polynomial coefficients to be
converted.