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

NAG AD Library Introduction
Example description

E04US_A1W_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 adjoints
 Computational mode    : algorithmic

 Derivatives:

  derivatives of x[0] w.r.t ruser[0:43]:
 -4.9631e-25  0.0000e+00  4.9441e-04  4.2804e-04
  4.9441e-04  4.2804e-04  5.3633e-05  5.3633e-05
  4.3470e-05  2.3145e-05  4.5591e-06  2.2250e-06
  2.2250e-06  3.1985e-07  2.0070e-07  2.0070e-07
  5.1842e-08  4.0433e-08  4.5616e-10  4.5616e-10
  1.5065e-09 -6.6867e-11 -6.6867e-11 -1.6147e-10
 -4.2932e-13 -1.7526e-11 -1.7526e-11 -1.7431e-12
 -2.5707e-12 -1.7431e-12 -4.7075e-13 -5.7168e-13
 -1.6597e-13 -1.6597e-13 -2.0317e-13 -4.8052e-14
 -5.2918e-14 -1.7234e-14 -5.1440e-15 -6.5606e-15
 -1.8226e-15 -1.8226e-15 -6.3729e-16 -2.0483e-16