The main problem with this mode is that it may require a lot of extra storage. Examples a simple function and the program that computes its gradient wrt to x and y . The reverse mode had been used. Ginzburg-Landau 1D minimization problem. Here the reverse mode is applied to generate an efficient gradient computation then the forward mode is used to generate the computation of the hessian times vector.
Minimization is performed using the matlab function fminu.
In that exemple we show how AD may be used in a context of modelization. A simulation of the bipendulum is performed. We are interested in codes for testing our tool. We'll be glad to perform differentiation. TAMC similar features to Odyssee but extended to cope with some Fortran-90 constructions.