public class FloatVariable extends Variable
| Constructor and Description |
|---|
FloatVariable(String name)
Creates a new variable with the given name.
|
FloatVariable(String name,
boolean isPositive)
Creates a new variable with the given name.
|
FloatVariable(String name,
double lowerBound,
double upperBound)
Creates a new variable with the given name and bounds.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isInteger()
Checks whether this term represents an integer value.
|
collapseAssociativeOperations, derive, expandAssociativeOperations, getAbsoluteValues, getLowerBound, getMaximums, getMinimums, getName, getProducts, getUpperBound, getVariables, isContinuous, isPositive, replaceTerm, simplify, toLinearForm, toString, valueadd, doubleValue, evaluateMatrix, evaluateVector, evaluateVector, isContinuous, isLinear, min, minus, mult, replaceAllTerms, replaceAllTermspublic FloatVariable(String name)
name - the name of this variable.public FloatVariable(String name, boolean isPositive)
name - the name of this variable.isPositive - whether this variables should be positive.public FloatVariable(String name, double lowerBound, double upperBound)
name - the name of this variable.lowerBound - the lower bound of the variable.upperBound - the upper bound of the variable.public boolean isInteger()
TermCopyright © 2018. All rights reserved.