public class Decrement extends AbstractArg1
Constructor and Description |
---|
Decrement() |
Modifier and Type | Method and Description |
---|---|
protected IExpr |
apply(IExpr assignedValue)
Evaluate
assignedValue - 1 . |
IExpr |
e1ObjArg(IExpr expr) |
protected java.util.function.Function<IExpr,IExpr> |
getFunction() |
protected ISymbol |
getFunctionSymbol() |
protected IExpr |
getResult(IExpr symbolValue,
IExpr calculatedResult) |
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 expr)
e1ObjArg
in class AbstractArg1
protected ISymbol getFunctionSymbol()
protected IExpr apply(IExpr assignedValue)
assignedValue - 1
. Override this method in subclasses.assignedValue
- the value currently assigned to the symbolengine
- the evaluation enginepublic void setUp(ISymbol symbol)
AbstractFunctionEvaluator
setUp
in interface IEvaluator
setUp
in class AbstractFunctionEvaluator
symbol
- the symbol which should be set up