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

NAG CL Interface Introduction
Example description

nag_quad_dim1_quad_wt_trig_1 (d01snc) Example Program Results
(User-supplied callback g, first invocation.)
a      - lower limit of integration =     0.0000
b      - upper limit of integration =     1.0000
epsabs - absolute accuracy requested =    0.00e+00
epsrel - relative accuracy requested =    1.00e-04

result - approximation to the integral =  -0.12814
abserr - estimate of the absolute error =    3.58e-06
qp.fun_count  - number of function evaluations =  275
qp.num_subint  - number of subintervals used =    8