public class Sqrt extends AbstractArg1 implements INumeric
Constructor and Description |
---|
Sqrt() |
Modifier and Type | Method and Description |
---|---|
IExpr |
e1ObjArg(IExpr o) |
double |
evalReal(double[] stack,
int top,
int size)
Evaluate the function to a double number
|
void |
setUp(ISymbol symbol)
Evaluate built-in rules and define Attributes for a function.
|
e1ApcomplexArg, e1ApfloatArg, e1ComArg, e1ComplexArg, e1DblArg, e1FraArg, e1FunArg, e1IntArg, e1SymArg, evaluate
createRuleFromMethod, getNormalizedNegativeExpression, getNormalizedNegativeExpression, getPeriodicParts, getPureImaginaryPart, getRuleAST, initSerializedRules, isNegativeExpression
numericEval
public IExpr e1ObjArg(IExpr o)
e1ObjArg
in class AbstractArg1
public double evalReal(double[] stack, int top, int size)
INumeric
evalReal
in interface INumeric
DoubleStackEvaluator
public void setUp(ISymbol symbol)
setUp
in interface IEvaluator
setUp
in class AbstractFunctionEvaluator
symbol
- the symbol which should be set up