quadpack


quadpack, a FORTRAN77 code which estimates integrals using numerical quadrature, by Piessens, deDoncker-Kapenga, Ueberhuber, and Kahaner

The code estimates the integral of a function F(X). There are routines for nonadaptive or adaptive integration, finite, semi-infinite or fully infinite integration regions, integrands with singularities, and integrands that include a factor of SIN(X) or COS(X).

Many subroutines come in two versions, a "simple" interface and an "extended" interface. Compare, for example, the routines QAWF and QAWFE. The first one simply makes sensible choices for many parameter values. The second one gives the user full control over all the parameters.

Routines for a finite region:

How to decide what routine to use, if your integration region is finite:

Routines for an infinite region:

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

quadpack is available in a FORTRAN77 version and a FORTRAN90 version.

Related Data and Programs:

quadpack_test

intlib, a FORTRAN90 library which numerically estimate sintegrals.

KRONROD, a FORTRAN77 library which can compute a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.

MACHINE, a FORTRAN77 library which defines machine arithmetic constants.

NMS, a FORTRAN77 library which includes QUADPACK.

QUADRULE, a FORTRAN90 library which defines quadrature rules for various intervals and weight functions.

SLATEC, a FORTRAN90 library which includes QUADPACK.

STROUD, a FORTRAN90 library which defines quadrature rules for various geometric shapes.

TEST_INT, a FORTRAN90 library which defines test integration problems.

TEST_INT_LAGUERRE, a FORTRAN77 library which defines test integrands for the interval [a,+oo) and weight exp(-x);

TOMS351, a FORTRAN77 library which estimates an integral using Romberg integration.

TOMS379, a FORTRAN77 library which estimates an integral.

TOMS418, a FORTRAN77 library which estimates the integral of a function with a sine or cosine factor.

TOMS424, a FORTRAN77 library which estimates the integral of a function using Clenshaw-Curtis quadrature.

TOMS468, a FORTRAN77 library which carries out the "automatic" integration of a function.

XERROR, a FORTRAN77 library which handles run-time errors.

Author:

Original Fortran77 version by Robert Piessens, Elise deDoncker-Kapenga, Christian Ueberhuber, David Kahaner.

Reference:

  1. Robert Piessens, Elise deDoncker-Kapenga, Christian Ueberhuber, David Kahaner,
    QUADPACK: A Subroutine Package for Automatic Integration,
    Springer, 1983,
    ISBN: 3540125531,
    LC: QA299.3.Q36.

Source Code:


Last revised on 04 November 2023.