public class Surd extends AbstractArg2 implements INumeric
Constructor and Description |
---|
Surd() |
Modifier and Type | Method and Description |
---|---|
IExpr |
e2ApfloatArg(ApfloatNum af0,
ApfloatNum af1) |
IExpr |
e2DblArg(INum d0,
INum d1) |
IExpr |
e2ObjArg(IExpr o,
IExpr r)
Evaluate the function for the 2 given expressions.
|
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.
|
binaryOperator, e2ApcomplexArg, e2ComArg, e2DblComArg, e2FraArg, e2FunArg, e2IntArg, e2SymArg, eComFraArg, eComIntArg, eFunIntArg, evaluate
createRuleFromMethod, getNormalizedNegativeExpression, getNormalizedNegativeExpression, getPeriodicParts, getPureImaginaryPart, getRuleAST, initSerializedRules, isNegativeExpression
numericEval
public IExpr e2ApfloatArg(ApfloatNum af0, ApfloatNum af1)
e2ApfloatArg
in class AbstractArg2
public IExpr e2DblArg(INum d0, INum d1)
e2DblArg
in class AbstractArg2
public IExpr e2ObjArg(IExpr o, IExpr r)
AbstractArg2
e2ObjArg
in class AbstractArg2
F#NIL
if no evaluation is possible.public void setUp(ISymbol symbol)
AbstractFunctionEvaluator
setUp
in interface IEvaluator
setUp
in class AbstractFunctionEvaluator
symbol
- the symbol which should be set uppublic double evalReal(double[] stack, int top, int size)
INumeric
evalReal
in interface INumeric
DoubleStackEvaluator