public class Coth extends AbstractTrigArg1 implements INumeric, CothRules
Constructor and Description |
---|
Coth() |
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) |
IExpr |
e1DblArg(double arg1) |
double |
evalReal(double[] stack,
int top,
int size)
Evaluate the function to a double number
|
IExpr |
evaluateArg1(IExpr arg1) |
IAST |
getRuleAST()
Get the predefined rules for this function symbol.
|
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, initSerializedRules, isNegativeExpression
public IAST getRuleAST()
AbstractFunctionEvaluator
getRuleAST
in class AbstractFunctionEvaluator
null
if no rules are definedpublic IExpr evaluateArg1(IExpr arg1)
evaluateArg1
in class AbstractTrigArg1
public double evalReal(double[] stack, int top, int size)
INumeric
evalReal
in interface INumeric
DoubleStackEvaluator
public IExpr e1DblArg(double arg1)
e1DblArg
in class AbstractTrigArg1
public IExpr e1ComplexArg(org.apache.commons.math4.complex.Complex arg1)
e1ComplexArg
in class AbstractTrigArg1
public IExpr e1ApfloatArg(org.apfloat.Apfloat arg1)
e1ApfloatArg
in class AbstractArg1
public IExpr e1ApcomplexArg(org.apfloat.Apcomplex arg1)
e1ApcomplexArg
in class AbstractArg1
public void setUp(ISymbol symbol) throws SyntaxError
AbstractFunctionEvaluator
setUp
in interface IEvaluator
setUp
in class AbstractFunctionEvaluator
symbol
- the symbol which should be set upSyntaxError