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()
Valuepublic double getValueWithCases(Cases c)
ExpressiongetValueWithCases in interface Expressionpublic String toString()
ExpressiontoString in interface ExpressiontoString in class Objectpublic Expression derivative(Variable wrt)
Expressionderivative in interface Expressionpublic boolean dependsOn(Variable x)
ExpressiondependsOn in interface Expression