General Case
Given an expression f(x1 , ... , xn) , create a variable E
to hold its value.
- Initialize: Create code
E = f(x1_0 , ... , xn_0)
to establish E for the initial values of its arguments.
- Derivative: Replace each statement
dxi that modifies
some variable xi of E by the statements:
-E dxi
dxi
+E dxi
- Redundant Code Elimination: replace each occurrence of
f(x1 , ... , xn) by E .
- Dead Code Elimination: remove any code
that is now unused.
Contents   
Page-10   
Prev   
Next   
Page+10   
Index