public class PassThroughDiffRule extends java.lang.Object implements DiffRulesI
| Constructor and Description |
|---|
PassThroughDiffRule(DJep djep,
java.lang.String inName) |
PassThroughDiffRule(java.lang.String inName,
PostfixMathCommandI inPfmc) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public PassThroughDiffRule(DJep djep, java.lang.String inName)
public PassThroughDiffRule(java.lang.String inName,
PostfixMathCommandI inPfmc)
public java.lang.String toString()
DiffRulesItoString in interface DiffRulesItoString in class java.lang.Objectpublic java.lang.String getName()
DiffRulesIgetName in interface DiffRulesIpublic Node differentiate(ASTFunNode node, java.lang.String var, Node[] children, Node[] dchildren, DJep djep) throws ParseException
DiffRulesIdifferentiate in interface DiffRulesIvar - 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.http://www.singularsys.com/jep Copyright © 2007 Singular Systems