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

NAG CL Interface Introduction
Example description

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

c      - parameter in the weight function =    5.00e-01
result - approximation to the integral =   -628.46
abserr - estimate of the absolute error =    1.32e-02
qp.fun_count  - number of function evaluations =  255
qp.num_subint  - number of subintervals used =    8