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

NAG AD Library Introduction
Example description

D01TC_A1W_F C++ Header Example Program Results


 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Solution, x =       0.2506
 Derivatives:
 dim   j  d/dweight    d/dabscis
   0   1  2.0667e-02  2.0167e-02
       2  7.6469e-02  1.1249e-01
       3  2.9967e-01  3.5107e-01
       4  7.1527e-01  3.8664e-01
   1   1  5.6786e-07  8.3236e-06
       2  3.4395e-03  1.7167e-02
       3  6.5002e-02  7.6137e-02
       4  3.9805e-02 -9.3312e-02
   2   1  7.0731e-02 -2.9256e-02
       2  8.4457e-04 -9.2986e-03
       3  8.4457e-04  9.2986e-03
       4  7.0731e-02  2.9256e-02
   3   1  3.2887e-01 -4.9174e-01
       2  2.3746e-02 -9.2454e-02
       3  8.2272e-05 -6.5032e-04
       4  3.1587e-10 -6.3301e-09