public class Khinchin extends AbstractSymbolEvaluator implements ISignedNumberConstant
Modifier and Type | Field and Description |
---|---|
static double |
KHINCHIN |
Constructor and Description |
---|
Khinchin() |
Modifier and Type | Method and Description |
---|---|
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.
|
apfloatEval, evaluate
public static final double KHINCHIN
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 double evalReal()
ISignedNumberConstant
evalReal
in interface ISignedNumberConstant
DoubleStackEvaluator