public class PassThroughDiffRule extends Object implements DiffRulesI
| Constructor and Description |
|---|
PassThroughDiffRule(DJep djep,
String inName) |
PassThroughDiffRule(String inName,
PostfixMathCommandI inPfmc) |
| Modifier and Type | Method and Description |
|---|---|
Node |
differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep)
Returns the top node of of the derivative of this function
wrt to variable var.
|
String |
getName()
Returns the name of the function.
|
String |
toString()
Returns a string representation of the rule.
|
public PassThroughDiffRule(String inName, PostfixMathCommandI inPfmc)
public String toString()
DiffRulesItoString in interface DiffRulesItoString in class Objectpublic String getName()
DiffRulesIgetName in interface DiffRulesIpublic Node differentiate(ASTFunNode node, 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.Copyright © 2018. All rights reserved.