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

NAG AD Library Introduction
Example description

 F01EF_A1W_F Example Program Results

 Symmetric f(A)
          1       2       3       4
 1  -0.5420 -0.6612 -0.0261  0.1580
 2           0.2306 -0.3396 -0.0261
 3                   0.2306 -0.6612
 4                          -0.5420

  Derivatives calculated: First order adjoints
  Computational mode    : algorithmic

  Derivatives of diagonal of f(A) w.r.t. diagonal of A

        d(fA(i,i))/da(j,j)
          1       2       3       4
 1   0.1035  0.0469 -0.0070 -0.1346
 2   0.0469  0.3728  0.0055 -0.0070
 3  -0.0070  0.0055  0.3728  0.0469
 4  -0.1346 -0.0070  0.0469  0.1035