C
- coefficient type.public class RecSolvablePolynomialRing<C extends RingElem<C>> extends GenSolvablePolynomialRing<GenPolynomial<C>>
Modifier and Type | Field and Description |
---|---|
RelationTable<GenPolynomial<C>> |
coeffTable
The solvable multiplication relations between variables and coefficients.
|
RecSolvablePolynomial<C> |
ONE
The constant polynomial 1 for this ring.
|
RecSolvablePolynomial<C> |
ZERO
The constant polynomial 0 for this ring.
|
table
Constructor and Description |
---|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf,
int n)
The constructor creates a solvable polynomial factory object with the
default term order and commutative relations.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf,
int n,
RelationTable<GenPolynomial<C>> rt)
The constructor creates a solvable polynomial factory object with the
default term order.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf,
int n,
TermOrder t)
The constructor creates a solvable polynomial factory object with the
given term order and commutative relations.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf,
int n,
TermOrder t,
RelationTable<GenPolynomial<C>> rt)
The constructor creates a solvable polynomial factory object with the
given term order.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<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.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf,
int n,
TermOrder t,
java.lang.String[] v,
RelationTable<GenPolynomial<C>> rt)
The constructor creates a solvable polynomial factory object with the
given term order.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf,
RecSolvablePolynomialRing 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.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf,
java.lang.String[] v)
The constructor creates a solvable polynomial factory object with the
default term order.
|
RecSolvablePolynomialRing(RingFactory<GenPolynomial<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 |
---|---|
RecSolvablePolynomialRing<C> |
contract(int i)
Contract variables.
|
RecSolvablePolynomial<C> |
copy(RecSolvablePolynomial<C> c)
Copy polynomial c.
|
static <C extends RingElem<C>> |
distribute(RecSolvablePolynomialRing<C> rf)
Distributive representation as polynomial with all main variables.
|
boolean |
equals(java.lang.Object other)
Comparison with any other object.
|
RecSolvablePolynomialRing<C> |
extend(int i)
Extend variables.
|
RecSolvablePolynomialRing<C> |
extend(int i,
boolean top)
Extend variables.
|
RecSolvablePolynomialRing<C> |
extend(java.lang.String[] vs)
Extend variables.
|
RecSolvablePolynomialRing<C> |
extend(java.lang.String[] vs,
boolean top)
Extend variables.
|
RecSolvablePolynomial<C> |
fromInteger(java.math.BigInteger a)
Get a (constant) RecSolvablePolynomial<C> element from a BigInteger
value.
|
RecSolvablePolynomial<C> |
fromInteger(long a)
Get a (constant) RecSolvablePolynomial<C> element from a long
value
|
RecSolvablePolynomial<C> |
getONE()
Get the one element.
|
RecSolvablePolynomial<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.
|
RecSolvablePolynomial<C> |
parse(java.io.Reader r)
Parse a solvable polynomial with the use of GenPolynomialTokenizer
|
RecSolvablePolynomial<C> |
parse(java.lang.String s)
Parse a solvable polynomial with the use of GenPolynomialTokenizer
|
GenSolvablePolynomialRing<GenPolynomial<C>> |
permutation(java.util.List<java.lang.Integer> P)
Permutation of polynomial ring variables.
|
RecSolvablePolynomial<C> |
random(int n)
Random solvable polynomial.
|
RecSolvablePolynomial<C> |
random(int k,
int l,
int d,
float q)
Generate a random solvable polynomial.
|
RecSolvablePolynomial<C> |
random(int k,
int l,
int d,
float q,
java.util.Random rnd)
Random solvable polynomial.
|
RecSolvablePolynomial<C> |
random(int n,
java.util.Random rnd)
Random solvable polynomial.
|
RecSolvablePolynomialRing<C> |
reverse()
Reverse variables.
|
RecSolvablePolynomialRing<C> |
reverse(boolean partial)
Reverse variables.
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
Get the String representation.
|
RecSolvablePolynomial<C> |
univariate(int i)
Generate univariate solvable polynomial in a given variable.
|
RecSolvablePolynomial<C> |
univariate(int modv,
int i,
long e)
Generate univariate solvable polynomial in a given variable with given
exponent.
|
RecSolvablePolynomial<C> |
univariate(int i,
long e)
Generate univariate solvable polynomial in a given variable with given
exponent.
|
java.util.List<RecSolvablePolynomial<C>> |
univariateList()
Generate list of univariate polynomials in all variables.
|
java.util.List<RecSolvablePolynomial<C>> |
univariateList(int modv)
Generate list of univariate polynomials in all variables.
|
java.util.List<RecSolvablePolynomial<C>> |
univariateList(int modv,
long e)
Generate list of univariate polynomials in all variables with given
exponent.
|
RecSolvablePolynomial<C> |
valueOf(ExpVector e)
Get a RecSolvablePolynomial<C> element from an exponent vector.
|
RecSolvablePolynomial<C> |
valueOf(GenPolynomial<C> a)
Get a (constant) RecSolvablePolynomial<C> element from a coefficient value.
|
RecSolvablePolynomial<C> |
valueOf(GenPolynomial<C> a,
ExpVector e)
Get a RecSolvablePolynomial<C> element from a coeffcient and an exponent
vector.
|
addRelations, addRelations, addSolvRelations, copy, distribute, recursive
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, valueOf, valueOf, varsToString
public final RelationTable<GenPolynomial<C extends RingElem<C>>> coeffTable
public final RecSolvablePolynomial<C extends RingElem<C>> ZERO
public final RecSolvablePolynomial<C extends RingElem<C>> ONE
public RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf, int n)
cf
- factory for coefficients of type C.n
- number of variables.public RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf, int n, RelationTable<GenPolynomial<C>> rt)
cf
- factory for coefficients of type C.n
- number of variables.rt
- solvable multiplication relations.public RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf, int n, TermOrder t)
cf
- factory for coefficients of type C.n
- number of variables.t
- a term order.public RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf, int n, TermOrder t, RelationTable<GenPolynomial<C>> rt)
cf
- factory for coefficients of type C.n
- number of variables.t
- a term order.rt
- solvable multiplication relations.public RecSolvablePolynomialRing(RingFactory<GenPolynomial<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 RecSolvablePolynomialRing(RingFactory<GenPolynomial<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 RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf, java.lang.String[] v)
cf
- factory for coefficients of type C.v
- names for the variables.public RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf, int n, TermOrder t, java.lang.String[] v, RelationTable<GenPolynomial<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 RecSolvablePolynomialRing(RingFactory<GenPolynomial<C>> cf, RecSolvablePolynomialRing o)
cf
- factory for coefficients of type C.o
- other solvable polynomial ring.public java.lang.String toString()
toString
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
Object.toString()
public java.lang.String toScript()
toScript
in interface ElemFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
toScript
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
Element.toScript()
public boolean equals(java.lang.Object other)
equals
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
Object.hashCode()
public RecSolvablePolynomial<C> getZERO()
getZERO
in interface AbelianGroupFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
getZERO
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
public RecSolvablePolynomial<C> getONE()
getONE
in interface MonoidFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
getONE
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
public boolean isCommutative()
isCommutative
in interface MonoidFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
isCommutative
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
public boolean isAssociative()
isAssociative
in interface MonoidFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
isAssociative
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
public RecSolvablePolynomial<C> valueOf(GenPolynomial<C> a)
valueOf
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
a
- coefficient.public RecSolvablePolynomial<C> valueOf(ExpVector e)
valueOf
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
e
- exponent vector.public RecSolvablePolynomial<C> valueOf(GenPolynomial<C> a, ExpVector e)
valueOf
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
a
- coefficient.e
- exponent vector.public RecSolvablePolynomial<C> fromInteger(long a)
fromInteger
in interface ElemFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
fromInteger
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
a
- long.public RecSolvablePolynomial<C> fromInteger(java.math.BigInteger a)
fromInteger
in interface ElemFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
fromInteger
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
a
- BigInteger.public RecSolvablePolynomial<C> random(int n)
random
in interface ElemFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
random
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
n
- number of terms.public RecSolvablePolynomial<C> random(int n, java.util.Random rnd)
random
in interface ElemFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
random
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
n
- number of terms.rnd
- is a source for random bits.public RecSolvablePolynomial<C> random(int k, int l, int d, float q)
random
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
k
- bitsize of random coefficients.l
- number of terms.d
- maximal degree in each variable.q
- density of nozero exponents.public RecSolvablePolynomial<C> random(int k, int l, int d, float q, java.util.Random rnd)
random
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<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 RecSolvablePolynomial<C> copy(RecSolvablePolynomial<C> c)
c
- public RecSolvablePolynomial<C> parse(java.lang.String s)
parse
in interface ElemFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
parse
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
s
- String.public RecSolvablePolynomial<C> parse(java.io.Reader r)
parse
in interface ElemFactory<GenPolynomial<GenPolynomial<C extends RingElem<C>>>>
parse
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
r
- Reader.public RecSolvablePolynomial<C> univariate(int i)
univariate
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
i
- the index of the variable.public RecSolvablePolynomial<C> univariate(int i, long e)
univariate
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
i
- the index of the variable.e
- the exponent of the variable.public RecSolvablePolynomial<C> univariate(int modv, int i, long e)
univariate
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
modv
- number of module variables.i
- the index of the variable.e
- the exponent of the variable.public java.util.List<RecSolvablePolynomial<C>> univariateList()
univariateList
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
public java.util.List<RecSolvablePolynomial<C>> univariateList(int modv)
univariateList
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
modv
- number of module variables.public java.util.List<RecSolvablePolynomial<C>> univariateList(int modv, long e)
univariateList
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
modv
- number of module variables.e
- the exponent of the variables.public RecSolvablePolynomialRing<C> extend(int i)
extend
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
i
- number of variables to extend.public RecSolvablePolynomialRing<C> extend(int i, boolean top)
extend
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
i
- number of variables to extend.top
- true for TOP term order, false for POT term order.public RecSolvablePolynomialRing<C> extend(java.lang.String[] vs)
extend
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
vs
- names for extended variables.public RecSolvablePolynomialRing<C> extend(java.lang.String[] vs, boolean top)
extend
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
vs
- names for extended variables.top
- true for TOP term order, false for POT term order.public RecSolvablePolynomialRing<C> contract(int i)
contract
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
i
- number of variables to remove.public RecSolvablePolynomialRing<C> reverse()
reverse
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
public RecSolvablePolynomialRing<C> reverse(boolean partial)
reverse
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
partial
- true for partialy reversed term orders.public static <C extends RingElem<C>> GenSolvablePolynomialRing<C> distribute(RecSolvablePolynomialRing<C> rf)
public GenSolvablePolynomialRing<GenPolynomial<C>> permutation(java.util.List<java.lang.Integer> P)
permutation
in class GenSolvablePolynomialRing<GenPolynomial<C extends RingElem<C>>>
P
- permutation.