[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

GAMS Module NAG_1D_QUAD_GAUSS_1 in NAGC


NAG_1D_QUAD_GAUSS_1

 
Computes an estimate of the definite integral of a function of known analytical
form, using a Gaussian quadrature formula with a specified number of abscissae.
Formulae are provided for a finite interval (Gauss-Legendre), a semi-infinite
interval (Gauss-Laguerre, Gauss-Rational), and an infinite interval
(Gauss-Hermite).
 
Classes  :  H2a1a2 . Nonautomatic 1-D finite interval quadrature, integrand
                   available via user-defined procedure
            H2a3a2 . Nonautomatic 1-D semi-infinite interval quadrature
                   (including exp(-x) weight function), integrand
                   available via user-defined procedure
            H2a4a2 . Nonautomatic 1-D infinite interval quadrature
                   (including exp(-x**2) weight function), integrand
                   available via user-defined procedure
 
Type     : C subroutine in NAGC library (D01 sublibrary).
Access   : Proprietary. Many implementations available.
Precision: Double.
Note     : This procedure may also be invoked using the name d01tac.
 
Usage    : double nag_1d_quad_gauss_1(Nag_GaussFormulae quadrule, double
           (*f)(double x, Nag_User *comm), double a, double b, Integer npts,
           Nag_User *comm, NagError *fail)
 
Details  : Documentation Example Example-output Local-details
Sites    : (1) ITL
 

Implementation of NAG_1D_QUAD_GAUSS_1 from NAGC on ITL

 
ITL:       Unix Workstation Network, National Institute of Standards and
           Technology (NIST), Gaithersburg, MD. Available to NIST staff.
 
Precision: Double.
Note     : This procedure may also be invoked using the name d01tac.
 
Access available only to NIST staff on internal Unix systems. They may access this
package provided the /itl tree is cross-mounted.
 
   Link         : cc -I/itl/links/generic/include -o prog prog.c
                  -L/itl/links/generic/{lib lib32 lib64}{/mips3 /mips4}
                  -lnagc -lm
   Local-details: cat /itl/apps/nagclib-6/docs/implementation
   Documentation: acroread
                  /itl/apps/nagclib-6/docs/NAGdoc/cl/pdf/D01/d01tac_cl05.pdf
   Example      : cat
                  /itl/apps/nagclib-6/clsol06da/examples/source/d01tace.c
   Example-outpu: cat
                  /itl/apps/nagclib-6/clsol06da/examples/results/d01tace.r


[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

GAMS is a service of the Mathematical and Computational Sciences Division of the Information Technology Laboratory of the National Institute of Standards and Technology

This page was generated on Sat Sep 20, 2008 at 04:27:23 UTC