public class Arg extends AbstractTrigArg1 implements INumeric
Constructor and Description |
---|
Arg() |
Modifier and Type | Method and Description |
---|---|
IExpr |
e1ApcomplexArg(org.apfloat.Apcomplex arg1) |
IExpr |
e1ApfloatArg(org.apfloat.Apfloat arg1) |
IExpr |
e1ComplexArg(org.apache.commons.math4.complex.Complex arg1)
Evaluate this function for one double complex argument
|
IExpr |
e1DblArg(double arg1) |
double |
evalReal(double[] stack,
int top,
int size)
Evaluate the function to a double number
|
IExpr |
evaluateArg1(IExpr arg1) |
void |
setUp(ISymbol symbol)
Evaluate built-in rules and define Attributes for a function.
|
evaluate, numericEval
e1ComArg, e1FraArg, e1FunArg, e1IntArg, e1ObjArg, e1SymArg
createRuleFromMethod, getNormalizedNegativeExpression, getNormalizedNegativeExpression, getPeriodicParts, getPureImaginaryPart, getRuleAST, initSerializedRules, isNegativeExpression
public IExpr evaluateArg1(IExpr arg1)
evaluateArg1
in class AbstractTrigArg1
public IExpr e1DblArg(double arg1)
e1DblArg
in class AbstractTrigArg1
public IExpr e1ComplexArg(org.apache.commons.math4.complex.Complex arg1)
e1ComplexArg
in class AbstractTrigArg1
arg1
- a double complex numberpublic IExpr e1ApfloatArg(org.apfloat.Apfloat arg1)
e1ApfloatArg
in class AbstractArg1
public IExpr e1ApcomplexArg(org.apfloat.Apcomplex arg1)
e1ApcomplexArg
in class AbstractArg1
public double evalReal(double[] stack, int top, int size)
INumeric
evalReal
in interface INumeric
DoubleStackEvaluator
public void setUp(ISymbol symbol) throws SyntaxError
AbstractFunctionEvaluator
setUp
in interface IEvaluator
setUp
in class AbstractFunctionEvaluator
symbol
- the symbol which should be set upSyntaxError