Multi-dimensional quadrature

NINTLIB, a C library which estimates integrals over multi-dimensional regions.

Please note that these routines are simple and academic. A good program for computing an integral in multiple dimensions must include error estimation and adaptivity. Simple straightforward approaches to reducing the error will cause a ruinous explosion in the number of function evaluations required.


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


NINTLIB is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:


PRODUCT_RULE, a C program which can create a multidimensional quadrature rule as a product of one dimensional rules.

QUADRULE, a C library which defines a variety of (mostly 1-dimensional) quadrature rules.

STROUD, a C library which defines a variety of quadrature rules over various "interesting" geometric shapes.

TEST_INT_2D, a C library which defines test integrands for 2D quadrature rules.


  1. Philip Davis, Philip Rabinowitz,
    Methods of Numerical Integration,
    Second Edition,
    Dover, 2007,
    ISBN: 0486453391,
    LC: QA299.3.D28.

Source Code:

Last revised on 14 July 2019.