Package com.singularsys.extensions.djep.diffRules
Rules specifying how to differentiate functions.
-
Class Summary Class Description ChainRuleDiffRules Abstract base class for function which are differentiated using the chain rule.DivideDiffRule Differentiates a division with respect to a variable.IfDiffRule Differentiates functions likeif(cond,trueExpr,falseExpr)
where the first argument should not be differentiated, but subsequent ones should be.MacroDiffRules Rules are specified by an expression string or a trees of nodes.MacroFunctionDiffRules For functions defined by expressions this rule automatically calculates the derivative.MultiplyDiffRule Differentiates a product with respect to a variable. diff(y*z,x) -> diff(y,x)*z+y*diff(z,x)PassThroughDiffRule Rules like Sum where diff(sum(a,b,c),x) -> sum(da/dx,db/dx,dc/dx) are instance of this class.PowerDiffRule Differentiates a powery^z
with respect to a variable.ZeroDiffRule Rules likediff(x > y,x) -> 0
where the derivative should be zero.