sparse_grid_hw


sparse_grid_hw, a C code which can compute sparse grids for multidimensional integration, based on 1D rules for the unit interval with unit weight function, or for the real line with the Gauss-Hermite weight function. The original MATLAB code is by Florian Heiss and Viktor Winschel.

Four built-in 1D families of quadrature rules are supplied, and the user can extend the package by supplying any family of 1D quadrature rules.

The built-in families are identified by a 3-letter key which is also the name of the function that returns members of the family:

The user can build new sparse grids by supplying a 1D quadrature family. Examples provided include:

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

sparse_grid_hw is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

sparse_grid_hw_test

quad_rule, a C code which defines 1-dimensional quadrature rules.

sandia_rules, a C code which generates Gauss quadrature rules of various orders and types.

sgmga, a C code which creates sparse grids based on a mixture of 1D quadrature rules, allowing anisotropic weights for each dimension.

Author:

Original MATLAB code by Florian Heiss and Viktor Winschel. This version by John Burkardt.

Reference:

Source Code:


Last revised on 07 August 2019.