public class DivideDiffRule extends java.lang.Object implements DiffRulesI
| Constructor and Description |
|---|
DivideDiffRule(DJep djep,
Operator op) |
DivideDiffRule(DJep djep,
Operator divide,
Operator multiply,
Operator subtract) |
| Modifier and Type | Method and Description |
|---|---|
Node |
differentiate(ASTFunNode node,
java.lang.String var,
Node[] children,
Node[] dchildren)
Returns the top node of of the derivative of this function
wrt to variable var.
|
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.
|
java.lang.String |
getName()
Returns the name of the function.
|
void |
init(Jep djep)
Initialize the component.
|
java.lang.String |
toString()
Returns a string representation of the rule.
|
public void init(Jep djep)
JepComponentinit in interface JepComponentdjep - the current Jep instancepublic JepComponent getLightWeightInstance()
JepComponentgetLightWeightInstance in interface JepComponentpublic 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) throws JepException
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.JepExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep