protected class ExpressionInput.EI extends Object implements Expression
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOn(Variable x)
Checks whether the expression has any dependence on the variable x.
|
Expression |
derivative(Variable wrt)
Return an Expression that represents the derivative of
this expression with respect to the variable wrt.
|
double |
getVal()
Gets the current value of this object.
|
double |
getValueWithCases(Cases c)
Compute and return the value of this expression.
|
String |
toString()
Get a print string representation of this expression.
|
public double getVal()
Value
public double getValueWithCases(Cases c)
Expression
getValueWithCases
in interface Expression
public String toString()
Expression
toString
in interface Expression
toString
in class Object
public Expression derivative(Variable wrt)
Expression
derivative
in interface Expression
public boolean dependsOn(Variable x)
Expression
dependsOn
in interface Expression