org.lsmp.djep.djep
Class Diff
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
org.lsmp.djep.djep.Diff
- All Implemented Interfaces:
- CommandVisitorI, PostfixMathCommandI
public class Diff
- extends PostfixMathCommand
- implements CommandVisitorI
The diff(f,x) operator.
|
Constructor Summary |
Diff()
|
|
Method Summary |
Node |
process(Node node,
Node[] children,
XJep xjep)
Process the differentiation specified by node. |
void |
run(Stack inStack)
Should never be evaluated! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Diff
public Diff()
run
public void run(Stack inStack)
throws ParseException
- Should never be evaluated!
- Specified by:
run in interface PostfixMathCommandI- Overrides:
run in class PostfixMathCommand
- Throws:
ParseException - if called by evaluator.
process
public Node process(Node node,
Node[] children,
XJep xjep)
throws ParseException
- Process the differentiation specified by node.
Defines process in
- Specified by:
process in interface CommandVisitorI
- Parameters:
node - top node of the treechildren - the children of the node after they have been preprocessed.xjep - a reference to the current XJep interface.
- Returns:
- top node of the results.
- Throws:
ParseException- See Also:
CommandVisitorI
Copyright © 2014. All rights reserved.