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

NAG AD Library Introduction
Example description

E04WB_T1W_F C++ Header Example Program Results


 Optimal objective function value =   1.4230e-02
 Solution point =   4.1995e-01  1.2848e+00

 Derivatives calculated: First order tangents
 Computational mode    : algorithmic

 Derivatives of x[0] w.r.t ruser:


     0  1.9939e-23     1  0.0000e+00     2  4.9441e-04     3  4.2804e-04
     4  4.9441e-04     5  4.2804e-04     6  5.3633e-05     7  5.3633e-05
     8  4.3470e-05     9  2.3145e-05    10  4.5591e-06    11  2.2250e-06
    12  2.2250e-06    13  3.1985e-07    14  2.0070e-07    15  2.0070e-07
    16  5.1842e-08    17  4.0433e-08    18  4.5616e-10    19  4.5616e-10
    20  1.5065e-09    21 -6.6867e-11    22 -6.6867e-11    23 -1.6147e-10
    24 -4.2932e-13    25 -1.7526e-11    26 -1.7526e-11    27 -1.7431e-12
    28 -2.5707e-12    29 -1.7431e-12    30 -4.7075e-13    31 -5.7168e-13
    32 -1.6597e-13    33 -1.6597e-13    34 -2.0317e-13    35 -4.8052e-14
    36 -5.2918e-14    37 -1.7234e-14    38 -5.1440e-15    39 -6.5606e-15
    40 -1.8226e-15    41 -1.8226e-15    42 -6.3729e-16    43 -2.0483e-16