NAG Library Manual, Mark 29.2
Interfaces:  FL   CL   CPP   AD 

NAG AD Library Introduction
Example description

F06PA_A1W_F C++ Header Example Program Results


   Array y after update
            1
 1      1.3050
 2     -4.1700
 3      2.3250
 4     -0.6850


 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives of y w.r.t alpha and beta:

            dy/dalpha
            1          2          3          4
 1      1.4100    -9.5400     3.4500    -2.5700

            dy/dbeta
         1       2       3       4
 1   1.0000  1.0000  1.0000  1.0000