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

NAG AD Library Introduction
Example description

F07AJ_T1W_F C++ Header Example Program Results


   A
            1          2          3          4
 1      1.8000     2.8800     2.0500    -0.8900
 2      5.2500    -2.9500    -0.9500    -3.8000
 3      1.5800    -2.6900    -2.9000    -1.0400
 4     -1.1100    -0.6600    -0.5900     0.8000

   Inverse
            1          2          3          4
 1      1.7720     0.5757     0.0843     4.8155
 2     -0.1175    -0.4456     0.4114    -1.7126
 3      0.1799     0.4527    -0.6676     1.4824
 4      2.4944     0.7650    -0.0360     7.6119


 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives of inverse diagonal w.r.t diagonal of A:

            dai(i,i)/da(j,j)
            1          2          3          4
 1     -3.1400     0.0676    -0.0152   -12.0117
 2      0.0676    -0.1986    -0.1862     1.3101
 3     -0.0152    -0.1862    -0.4456     0.0533
 4    -12.0117     1.3101     0.0533   -57.9410