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

NAG AD Library Introduction
Example description

F08KE_A1W_F C++ Header Example Program Results

 Diagonal:
                  3.618      2.416     -1.921     -1.427
 Superdiagonal:
                  1.259      1.526     -1.189

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives of d/e w.r.t first column of A


   dD_i/dA_j1
         1       2       3       4       5       6
 1  -0.1576 -0.5335  0.6358 -0.5335  0.0415 -0.0055
 2   0.2122 -0.2750 -0.0733  0.0984 -0.2790  0.4774
 3  -0.3653 -0.2462 -0.0553  0.2432 -0.5264  0.4000
 4   0.2933 -0.0435 -0.0671 -0.1130  0.0977 -0.2427

  dE_i/DA_j1
         1       2       3       4       5       6
 1   0.1797 -0.3547 -0.2334 -0.0023 -0.3721 -0.3082
 2  -0.4379  0.2708  0.1204  0.0157  0.1498 -0.1940
 3   0.2975 -0.1367 -0.0717 -0.0398 -0.0352  0.0397