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

NAG CL Interface Introduction
Example description

nag_quad_dim1_gauss_vec (d01uac) Example Program Results

Gauss-Legendre example
    2   Points  Answer =    3.14754
    4   Points  Answer =    3.14161
    8   Points  Answer =    3.14159
   16   Points  Answer =    3.14159
   32   Points  Answer =    3.14159
   64   Points  Answer =    3.14159

Rational Gauss example
    2   Points  Answer =    0.37989
    4   Points  Answer =    0.37910
    8   Points  Answer =    0.37876
   16   Points  Answer =    0.37869
   32   Points  Answer =    0.37867
   64   Points  Answer =    0.37867

Gauss-Laguerre example (adjusted weights)
    2   Points  Answer =    0.04833
    4   Points  Answer =    0.04887
    8   Points  Answer =    0.04890
   16   Points  Answer =    0.04890
   32   Points  Answer =    0.04890
   64   Points  Answer =    0.04890

Gauss-Laguerre example (normal weights)
    2   Points  Answer =    0.04833
    4   Points  Answer =    0.04887
    8   Points  Answer =    0.04890
   16   Points  Answer =    0.04890
   32   Points  Answer =    0.04890
   64   Points  Answer =    0.04890

Gauss-Hermite example (adjusted weights)
    2   Points  Answer =    1.38381
    4   Points  Answer =    1.42803
    8   Points  Answer =    1.42817
   16   Points  Answer =    1.42817
   32   Points  Answer =    1.42817
   64   Points  Answer =    1.42817

Gauss-Hermite example (normal weights)
    2   Points  Answer =    1.38381
    4   Points  Answer =    1.42803
    8   Points  Answer =    1.42817
   16   Points  Answer =    1.42817
   32   Points  Answer =    1.42817
   64   Points  Answer =    1.42817