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

NAG AD Library Introduction
Example description

F03BA_A1W_F C++ Header Example Program Results


   A
            1          2          3
 1     33.0000    16.0000    72.0000
 2    -24.0000   -10.0000   -57.0000
 3     -8.0000    -4.0000   -17.0000

   Array A after factorization
            1          2          3
 1     33.0000    16.0000    72.0000
 2     -0.7273     1.6364    -4.6364
 3     -0.2424    -0.0741     0.1111

 d = 0.375 id = 4

 value of determinant = 6


 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives of determinant w.r.t diagonal of A:

            d(d)/da(i,j)
            1          2          3
 1     -3.6250     3.0000     1.0000
 2     -1.0000     0.9375     0.2500
 3    -12.0000     9.5625     3.3750