TESTPACK is a FORTRAN90 program which demonstrates the testing of a routine for multidimensional integration.
In this case, the code being tested is a subroutine known as ADAPT, written by Genz. The code is tested on six test integrand functions, also defined by Genz. The test is done with a variety of spatial dimensions, parameter values, and difficulty factors.
With M denoting the spatial dimension, R a parameter, C a scaling vector, and X0 a displacement vector, the test functions can be summarized as:
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
TESTPACK is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
CUBPACK, a FORTRAN90 library which estimates the integral of a function (or vector of functions) over a collection of N-dimensional hyperrectangles and simplices.
INTEGRAL_TEST, a FORTRAN90 program which tests the suitability of a set of N points for use in an equal-weight quadrature rule over the M-dimensional unit hypercube.
INTLIB, a FORTRAN90 library which estimates the integral of a function over a one-dimensional interval.
NINTLIB, a FORTRAN90 library which estimates the integral of a function over a one-dimensional interval.
PRODUCT_RULE, a FORTRAN90 program which constructs a product rule from identical 1D factor rules.
QUADRULE, a FORTRAN90 library which defines a variety of (mostly 1-dimensional) quadrature rules.
SMOLPACK, a C library which uses the Genz test functions to demonstrate quadrature in multiple dimensions using a sparse grid.
SPINTERP, a MATLAB library which uses the Genz test functions to demonstrate multilinear interpolation on a sparse grid.
STROUD, a FORTRAN90 library which defines a variety of quadrature rules over various "interesting" geometric shapes.
TEST_NINT, a FORTRAN90 library which can be used to test N-dimensional quadrature routines.
You can go up one level to the FORTRAN90 source codes.