public class E extends AbstractSymbolEvaluator implements ISignedNumberConstant
Constructor and Description |
---|
E() |
Modifier and Type | Method and Description |
---|---|
IExpr |
apfloatEval(ISymbol symbol,
EvalEngine engine)
Numerical evaluation of a symbol
|
double |
evalReal()
Evaluate the symbol to a double number
|
IExpr |
numericEval(ISymbol symbol)
Numerical evaluation of a symbol
|
void |
setUp(ISymbol symbol)
This method will be called every time a new ISymbol will be created.
|
evaluate
public void setUp(ISymbol symbol)
IEvaluator
setUp
in interface IEvaluator
setUp
in class AbstractSymbolEvaluator
symbol
- the symbol which should be set uppublic IExpr numericEval(ISymbol symbol)
ISymbolEvaluator
numericEval
in interface ISymbolEvaluator
numericEval
in class AbstractSymbolEvaluator
symbol
- the symbol which should be evaluatednull
,
if evaluation isn't possiblepublic IExpr apfloatEval(ISymbol symbol, EvalEngine engine)
ISymbolEvaluator
apfloatEval
in interface ISymbolEvaluator
apfloatEval
in class AbstractSymbolEvaluator
symbol
- the symbol which should be evaluatedengine
- TODOnull
,
if evaluation isn't possiblepublic double evalReal()
ISignedNumberConstant
evalReal
in interface ISignedNumberConstant
DoubleStackEvaluator