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

NAG AD Library Introduction
Example description

F07CD_A1W_F C++ Header Example Program Results



   Solution
            1          2
 1     -4.0000     5.0000
 2      7.0000    -4.0000
 3      3.0000    -3.0000
 4     -4.0000    -2.0000
 5     -3.0000     1.0000


 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives of first solution column w.r.t. inputs:

  Solution point 1
      dx/d(du) :             7.32e+00 -3.65e+00 -6.70e-01  1.63e-01
      dx/d(d)  :  -4.18e+00 -8.52e+00  5.02e-01  2.17e-01 -1.83e-01
      dx/d(dl) :   4.87e+00  1.17e+00 -1.63e-01 -2.45e-01
      dx/d(b)  :  -1.05e+00  1.22e+00 -1.67e-01  5.43e-02 -6.12e-02

  Solution point 2
      dx/d(du) :            -1.38e+01  5.22e+00  9.57e-01 -2.33e-01
      dx/d(d)  :   7.88e+00  1.22e+01 -7.17e-01 -3.10e-01  2.62e-01
      dx/d(dl) :  -6.95e+00 -1.67e+00  2.33e-01  3.49e-01
      dx/d(b)  :   1.97e+00 -1.74e+00  2.39e-01 -7.75e-02  8.74e-02

  Solution point 3
      dx/d(du) :            -6.83e+00  2.58e+00 -7.65e-02  1.86e-02
      dx/d(d)  :   3.90e+00  6.03e+00  5.74e-02  2.48e-02 -2.10e-02
      dx/d(dl) :  -3.44e+00  1.34e-01 -1.86e-02 -2.80e-02
      dx/d(b)  :   9.76e-01 -8.61e-01 -1.91e-02  6.20e-03 -6.99e-03

  Solution point 4
      dx/d(du) :             8.16e+00 -3.08e+00  9.14e-02  4.90e-01
      dx/d(d)  :  -4.66e+00 -7.20e+00 -6.86e-02  6.53e-01 -5.52e-01
      dx/d(dl) :   4.11e+00 -1.60e-01 -4.90e-01 -7.36e-01
      dx/d(b)  :  -1.17e+00  1.03e+00  2.29e-02  1.63e-01 -1.84e-01

  Solution point 5
      dx/d(du) :             6.89e+00 -2.61e+00  7.72e-02  4.14e-01
      dx/d(d)  :  -3.94e+00 -6.08e+00 -5.79e-02  5.52e-01 -4.37e-02
      dx/d(dl) :   3.48e+00 -1.35e-01 -4.14e-01 -5.83e-02
      dx/d(b)  :  -9.85e-01  8.69e-01  1.93e-02  1.38e-01 -1.46e-02