Package math.differentialcalculus
Class DerivativeStructureBuilder
java.lang.Object
math.differentialcalculus.DerivativeStructureBuilder
Objects of this class break down a scanned
function into simple format to which a simple
chain rule can be applied,following all the
principles of differentiation.
For instance..4*x/(5+sin(4*x^2-7)) may be broken down into
u1/(5+sin(u-7))...u1/(5+sin(v))....u1/(5+v1)...u1/v2
At each level of simplification,a Differentiable object
is created and recorded which holds a reference to the
original function.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
Automatically generates a name for a given Differentiable object..especially since these are mostly automatically created on the fly during differential parsing.static void
-
Field Details
-
manager
-
-
Constructor Details
-
DerivativeStructureBuilder
- Parameters:
expression
- The input expression to be differentiated.- Throws:
Exception
-
-
Method Details
-
getManager
-
generateName
Automatically generates a name for a given Differentiable object..especially since these are mostly automatically created on the fly during differential parsing.- Returns:
- a unique name for the object.
-
main
-