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

NAG AD Library Introduction
Example description

 F07AJ_A1W_F Example Program Results
 
 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
 
        d(inv(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