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