public final class Monomial<C extends RingElem<C>> extends java.lang.Object implements Element<Monomial<C>>
| Modifier and Type | Field and Description |
|---|---|
C |
c
Coefficient of monomial.
|
ExpVector |
e
Exponent of monomial.
|
| Constructor and Description |
|---|
Monomial(ExpVector e,
C c)
Constructor of monomial.
|
Monomial(java.util.Map.Entry<ExpVector,C> me)
Constructor of monomial.
|
| Modifier and Type | Method and Description |
|---|---|
C |
coefficient()
Getter for coefficient.
|
int |
compareTo(Monomial<C> S)
Monomial comparison.
|
Monomial<C> |
copy()
Clone this Element.
|
boolean |
equals(java.lang.Object B)
Comparison with any other object.
|
ExpVector |
exponent()
Getter for exponent.
|
ElemFactory<Monomial<C>> |
factory()
Get the corresponding element factory.
|
int |
hashCode()
hashCode.
|
java.lang.String |
toScript()
Script representation of Monomial.
|
java.lang.String |
toScriptFactory()
Get a scripting compatible string representation of the factory.
|
java.lang.String |
toString()
String representation of Monomial.
|
public Monomial(java.util.Map.Entry<ExpVector,C> me)
me - a MapEntry.public C coefficient()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String toScript()
public java.lang.String toScriptFactory()
toScriptFactory in interface Element<Monomial<C extends RingElem<C>>>Element.toScriptFactory()public ElemFactory<Monomial<C>> factory()
public boolean equals(java.lang.Object B)
public int hashCode()