|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.poly.Monomial<C>
public final class Monomial<C extends RingElem<C>>
Monomial class. Represents pairs of exponent vectors and coefficients. Adaptor for Map.Entry.
Field Summary | |
---|---|
C |
c
Coefficient of monomial. |
ExpVector |
e
Exponent of monomial. |
Constructor Summary | |
---|---|
Monomial(ExpVector e,
C c)
Constructor of monomial. |
|
Monomial(java.util.Map.Entry<ExpVector,C> me)
Constructor of monomial. |
Method Summary | |
---|---|
C |
coefficient()
Getter for coefficient. |
ExpVector |
exponent()
Getter for exponent. |
java.lang.String |
toString()
String representation of Monomial. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final ExpVector e
public final C extends RingElem<C> c
Constructor Detail |
---|
public Monomial(java.util.Map.Entry<ExpVector,C> me)
me
- a MapEntry.public Monomial(ExpVector e, C c)
e
- exponent.c
- coefficient.Method Detail |
---|
public ExpVector exponent()
public C coefficient()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |