|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiffRulesI
Holds a set of rules describing how to differentiate a function. Each function to be differentiated should have a object which implements this interface.
Method Summary | |
---|---|
Node |
differentiate(ASTFunNode node,
java.lang.String var,
Node[] children,
Node[] dchildren,
DJep djep)
Returns the top node of of the derivative of this function wrt to variable var. |
java.lang.String |
getName()
Returns the name of the function. |
java.lang.String |
toString()
Returns a string representation of the rule. |
Method Detail |
---|
Node differentiate(ASTFunNode node, java.lang.String var, Node[] children, Node[] dchildren, DJep djep) throws ParseException
var
- The name of variable to differentiate wrt to.children
- the arguments of the functiondchildren
- the derivatives of each argument of the function.
ParseException
- if there is some problem in compiling the derivative.java.lang.String toString()
toString
in class java.lang.Object
java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |