Package org.lsmp.djep.djep

Classes to perform differentiation of equations and various utility classes.

See:
          Description

Interface Summary
DiffRulesI Holds a set of rules describing how to differentiate a function.
 

Class Summary
Diff The diff(f,x) operator.
DifferentiationVisitor A class for performing differentation of an expression.
DJep Adds differentation facilities to JEP.
DPrintVisitor An extension of PrintVisitor which will print the equations of a variable if required.
DSymbolTable A SymbolTable which works with partial derivatives of variables.
DVariable Holds all info about a variable.
DVariableFactory A VariableFactory which can work with PartialDerivatives.
PartialDerivative Contains infomation about a PartialDerivative of a variable.
 

Package org.lsmp.djep.djep Description

Classes to perform differentiation of equations and various utility classes. The main class is DifferentiationVisitor which performs the differentation by repeated applications of the chain, product and quotient rules. Typically the result of differentation should be simplified to remove occurences of redundant expressions (for example diff(x^2.0,x) is 2.0*x^1.0*1.0 which is simplified to 2.0*x).

For each function, a rule is used to specify how to differentiate it. For example, the differative of sin is specified using

addDiffRule(new MacroDiffRules(Jep,"sin","cos(x)"))
There are various classes of differentiation rules which all implement DiffRulesI and have special behaviours.

Variables can also be differentiated, and the derivative of y with respect to x will be represented by the PartialDerivative dy/dx. To allow this, the DVariable is used to represent variable and DSymbolTable and DVariableFactory are used to control the look up of variables and the creation of new variables.

Sub-packages
org.lsmp.djep.djep.diffRules Classes defining how to perform differentation of given functions.

See Also:
DJep documentation


http://www.singularsys.com/jep Copyright © 2007 Singular Systems