org.lsmp.djep.djep
Class Diff

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by org.lsmp.djep.djep.Diff
All Implemented Interfaces:
CommandVisitorI, PostfixMathCommandI

public class Diff
extends PostfixMathCommand
implements CommandVisitorI

The diff(f,x) operator.


Field Summary
 
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand
curNumberOfParameters, numberOfParameters
 
Constructor Summary
Diff()
           
 
Method Summary
 Node process(Node node, Node[] children, XJep xjep)
          Process the differentiation specified by node.
 void run(java.util.Stack inStack)
          Should never be evaluated!
 
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Diff

public Diff()
Method Detail

run

public void run(java.util.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 tree
children - 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


http://www.singularsys.com/jep Copyright © 2007 Singular Systems