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

NAG AD Library Introduction
Example description

D01RG_A1W_F C++ Header Example Program Results


 lower limit of integration (a) = -1
 upper limit of integration (b) = 1
 absolute accuracy requested    = 0
 relative accuracy requested    = 0.0001

 approximation to the integral  : 3.8115e+00
 estimate of the absolute error : 2.9281e-04
 number of function evaluations : 227

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivative of solution w.r.t to lower limit:
 d/da(x) = -2.5208e+00