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

NAG AD Library Introduction
Example description

F07CE_T1W_F C++ Header Example Program Results



   Solution
            1          2
 1     -4.0000     0.0000
 2      7.0000     0.0000
 3      3.0000     0.0000
 4     -4.0000    -0.0000
 5     -3.0000    -0.0000


 Derivatives calculated: First order tangents
 Computational mode    : algorithmic

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

   d(du(i))/dx(j)
            1          2          3          4
 1      7.3208    -3.6507    -0.6696     0.1628
 2    -13.7917     5.2153     0.9566    -0.2326
 3     -6.8300     2.5828    -0.0765     0.0186
 4      8.1579    -3.0849     0.0914     0.4897
 5      6.8940    -2.6070     0.0772     0.4138

   d(d(i))/dx(j)
            1          2          3          4          5
 1     -4.1833    -8.5184     0.5022     0.2171    -0.1835
 2      7.8810    12.1691    -0.7174    -0.3101     0.2621
 3      3.9029     6.0265     0.0574     0.0248    -0.0210
 4     -4.6617    -7.1982    -0.0686     0.6529    -0.5517
 5     -3.9394    -6.0830    -0.0579     0.5517    -0.0437

   d(dl(i))/dx(j)
            1          2          3          4
 1      4.8677     1.1718    -0.1628    -0.2446
 2     -6.9538    -1.6740     0.2326     0.3494
 3     -3.4437     0.1339    -0.0186    -0.0280
 4      4.1132    -0.1600    -0.4897    -0.7357
 5      3.4760    -0.1352    -0.4138    -0.0583

   d(b(i))/dx(j)
            1          2          3          4          5
 1     -1.0458     1.2169    -0.1674     0.0543    -0.0612
 2      1.9702    -1.7384     0.2391    -0.0775     0.0874
 3      0.9757    -0.8609    -0.0191     0.0062    -0.0070
 4     -1.1654     1.0283     0.0229     0.1632    -0.1839
 5     -0.9849     0.8690     0.0193     0.1379    -0.0146