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

NAG AD Library Introduction
Example description

F11XE_T1W_F C++ Header Example Program Results

  Matrix-vector product
  4.1000e+00
 -2.9400e+00
  1.4100e+00
  2.5300e+00
  4.3500e+00
  1.2900e+00
  5.0100e+00
  5.2000e-01
  4.5700e+00

 Derivatives calculated: First order tangents
 Computational mode    : algorithmic

 Derivatives of Y w.r.t X (A):

        dy_i/dx_j
            1          2          3          4          5          6          7
 1      4.0000    -1.0000     0.0000     0.0000     2.0000     0.0000     0.0000
 2     -1.0000     6.0000     1.0000     0.0000     0.0000     0.0000    -4.0000
 3      0.0000     1.0000     2.0000     0.0000     0.0000     1.0000     0.0000
 4      0.0000     0.0000     0.0000     3.0000     0.0000     2.0000     0.0000
 5      2.0000     0.0000     0.0000     0.0000     4.0000     0.0000     1.0000
 6      0.0000     0.0000     1.0000     2.0000     0.0000     6.0000    -1.0000
 7      0.0000    -4.0000     0.0000     0.0000     1.0000    -1.0000     6.0000
 8      0.0000     0.0000     0.0000    -1.0000     0.0000    -1.0000     0.0000
 9      1.0000     0.0000     0.0000     0.0000     1.0000    -1.0000     0.0000

            8          9
 1      0.0000     1.0000
 2      0.0000     0.0000
 3      0.0000     0.0000
 4     -1.0000     0.0000
 5      0.0000     1.0000
 6     -1.0000    -1.0000
 7      0.0000     0.0000
 8      3.0000     1.0000
 9      1.0000     4.0000