Package math.differentialcalculus
Class DerivativeStructureBuilder
java.lang.Object
math.differentialcalculus.DerivativeStructureBuilder
public class DerivativeStructureBuilder
extends java.lang.Object
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.
- Author:
- GBEMIRO
-
Constructor Summary
Constructors Constructor Description DerivativeStructureBuilder(java.lang.String expression) -
Method Summary
Modifier and Type Method Description DifferentiableManagergetManager()static voidmain(java.lang.String[] args)
-
Constructor Details
-
DerivativeStructureBuilder
public DerivativeStructureBuilder(java.lang.String expression) throws java.lang.Exception- Parameters:
expression- The input expression to be differentiated.- Throws:
java.lang.Exception
-
-
Method Details
-
getManager
-
main
public static void main(java.lang.String[] args)
-