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

NAG AD Library Introduction
Example description

F03BN_A1W_F C++ Header Example Program Results


   A
             1           2           3
 1      1.0000      1.0000      2.0000
        0.0000      2.0000     10.0000

 2      1.0000      0.0000     -5.0000
        1.0000      3.0000     14.0000

 3      1.0000      0.0000     -8.0000
        1.0000      5.0000     20.0000


   Array A after factorization
             1           2           3
 1      1.0000      0.0000     -5.0000
        1.0000      3.0000     14.0000

 2      1.0000      0.0000     -3.0000
        0.0000      2.0000      6.0000

 3      0.5000      0.2500     -0.2500
       -0.5000      0.2500     -0.2500

 d = (0.0625,0) id = 4, 0

 value of determinant = (1,0)


 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives of real(d) w.r.t A:

            d(dreal)/da(i,j)
          1        2        3
 1   0.6250   0.5625  -0.1250
    -0.0625   0.1875  -0.1250

 2  -0.1250   0.0000  -0.0625
    -0.3750  -0.5000   0.1250

 3  -0.1875  -0.1875   0.0625
     0.1250   0.1250   0.0000