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

NAG AD Library Introduction
Example description

D01BD_A1W_F C++ Header Example Program Results


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

 approximation to the integral  : -3.1831e-02
 estimate of the absolute error : 1.3443e-11
 number of function evaluations : 43

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivative of solution w.r.t to ruser[0]:
 d/dr(x) = 9.5493e-03