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

NAG AD Library Introduction
Example description

D01RM_A1W_F C++ Header Example Program Results


 lower limit of integration (bound) = 0
 upper limit of integration (Inf)   = Infinity
 absolute accuracy requested    = 0
 relative accuracy requested    = 0.0001
 maximum number of subintervals = 20

 approximation to the integral  : 3.1416e+00
 estimate of the absolute error : 2.6515e-05
 number of function evaluations : 10

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivative of solution w.r.t function parameters:
 dI/druser[20] = -1.5708e+00
 dI/druser[21] = -1.5708e+00