public final class ExprMonomial extends java.lang.Object implements java.lang.Comparable<ExprMonomial>
Modifier and Type | Field and Description |
---|---|
IExpr |
c
Coefficient of monomial.
|
ExpVectorLong |
e
Exponent of monomial.
|
Constructor and Description |
---|
ExprMonomial(ExpVectorLong e,
IExpr c)
Constructor of monomial.
|
ExprMonomial(java.util.Map.Entry<ExpVectorLong,IExpr> me)
Constructor of monomial.
|
Modifier and Type | Method and Description |
---|---|
IExpr |
coefficient()
Getter for coefficient.
|
int |
compareTo(ExprMonomial S) |
boolean |
equals(java.lang.Object obj) |
ExpVectorLong |
exponent()
Getter for exponent.
|
int |
hashCode() |
java.lang.String |
toString()
String representation of Monomial.
|
public final ExpVectorLong e
public final IExpr c
public ExprMonomial(ExpVectorLong e, IExpr c)
e
- exponent.c
- coefficient.public ExprMonomial(java.util.Map.Entry<ExpVectorLong,IExpr> me)
me
- a MapEntry.public IExpr coefficient()
public int compareTo(ExprMonomial S)
compareTo
in interface java.lang.Comparable<ExprMonomial>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public ExpVectorLong exponent()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()