public class IntegerConstant extends Constant
| Modifier and Type | Field and Description |
|---|---|
private int |
i
the actual integer.
|
| Constructor and Description |
|---|
IntegerConstant(int i)
Creates a new Integer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Get the value of this integer.
|
boolean |
isInteger()
Checks whether this term represents an integer value.
|
java.lang.String |
toString() |
collapseAssociativeOperations, derive, expandAssociativeOperations, getAbsoluteValues, getMaximums, getMinimums, getProducts, getVariables, isContinuous, replaceTerm, simplify, toLinearForm, valueadd, doubleValue, evaluateMatrix, evaluateVector, evaluateVector, isContinuous, isLinear, min, minus, mult, replaceAllTerms, replaceAllTermspublic IntegerConstant(int i)
i - an int.public int getValue()
public boolean isInteger()
Term