public class FloatConstant extends Constant
Modifier and Type | Field and Description |
---|---|
private double |
f
the actual float.
|
Constructor and Description |
---|
FloatConstant(double f)
Creates a new Float.
|
FloatConstant(float f)
Creates a new Float.
|
Modifier and Type | Method and Description |
---|---|
double |
getValue()
Get the value of this float.
|
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, value
add, doubleValue, evaluateMatrix, evaluateVector, evaluateVector, isContinuous, isLinear, min, minus, mult, replaceAllTerms, replaceAllTerms
public FloatConstant(float f)
f
- a float.public FloatConstant(double f)
f
- a double.public double getValue()
public boolean isInteger()
Term