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

NAG CL Interface Introduction
Example description

nag_quad_dim1_gauss_1 (d01tac) Example Program Results

Gauss-Legendre example

(User-supplied callback fun1, first invocation.)
4 Points    Answer =    3.14161

8 Points    Answer =    3.14159

16 Points    Answer =    3.14159


Gauss-Rational example

(User-supplied callback fun2, first invocation.)
4 Points    Answer =    0.37910

8 Points    Answer =    0.37876

16 Points    Answer =    0.37869


Gauss-Laguerre example

(User-supplied callback fun3, first invocation.)
4 Points    Answer =    0.04887

8 Points    Answer =    0.04890

16 Points    Answer =    0.04890


Gauss-Hermite  example

(User-supplied callback fun4, first invocation.)
4 Points    Answer =    1.42803

8 Points    Answer =    1.42817

16 Points    Answer =    1.42817