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

NAG AD Library Introduction
Example description

D01RJ_A1W_F C++ Header Example Program Results


 lower limit of integration (a) = 0
 upper limit of integration (b) = 6.28319
 absolute accuracy requested    = 0
 relative accuracy requested    = 0.0001
 maximum number of subintervals = 20

 approximation to the integral  : -2.5433e+00
 estimate of the absolute error : 1.2752e-05
 number of function evaluations : 19

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivative of solution w.r.t to parameter in ruser:
 dI/druser[0] = 5.9953e+00
 dI/druser[1] = 1.5811e+01