public class BinaryEval extends BinaryFunctorImpl<IExpr>
Modifier and Type | Field and Description |
---|---|
protected IAST |
fAST |
protected EvalEngine |
fEngine |
Constructor and Description |
---|
BinaryEval(IExpr head,
EvalEngine engine)
Define an binary AST with the header
head . |
Modifier and Type | Method and Description |
---|---|
IExpr |
apply(IExpr firstArg,
IExpr secondArg)
Return the evaluation of an binary AST object by settings it's first
argument to
firstArg and it's second argument to
secondArg |
bind2
protected final EvalEngine fEngine
protected final IAST fAST
public BinaryEval(IExpr head, EvalEngine engine)
head
.head
- the AST's head expresionengine
- TODO