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

NAG AD Library Introduction
Example description

 F07AW_T1W_F Example Program Results

 Inverse
             1          2          3          4
 1      0.0757     1.6512     1.2663     3.8181
       -0.4324    -3.1342     0.0418     1.1195
 
 2     -0.1942    -1.1900    -0.2401    -0.0101
        0.0798    -0.1426    -0.5889    -1.4969
 
 3     -0.0957     0.7371     0.3224     0.6887
       -0.0491    -0.4290     0.0776     0.7891
 
 4      0.3702     3.7253     1.7014     3.9367
       -0.5040    -3.1813     0.7267     3.3255

  Derivatives calculated: First order tangents
  Computational mode    : algorithmic

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

  d(real(inva(i,i)))/da(j,j)
             1          2          3          4
 1      0.1812     0.0705     0.1191    -1.9776
       -0.0654     0.7403    -0.0662    -1.5098
 
 2      0.0705    -1.3957     0.4296     4.7996
        0.7403     0.3395    -0.3310    -5.5442
 
 3      0.1191     0.4296    -0.0979    -0.5983
       -0.0662    -0.3310     0.0500     1.8431
 
 4     -1.9776     4.7996    -0.5983    -4.4386
       -1.5098    -5.5442     1.8431    26.1827

  d(imag(inva(i,i)))/da(j,j)
             1          2          3          4
 1      0.0654    -0.7403     0.0662     1.5098
        0.1812     0.0705     0.1191    -1.9776
 
 2     -0.7403    -0.3395     0.3310     5.5442
        0.0705    -1.3957     0.4296     4.7996
 
 3      0.0662     0.3310    -0.0500    -1.8431
        0.1191     0.4296    -0.0979    -0.5983
 
 4      1.5098     5.5442    -1.8431   -26.1827
       -1.9776     4.7996    -0.5983    -4.4386