sparse_grid_composite


sparse_grid_composite, a MATLAB code which computes the points and weights of a Smolyak sparse grid, based on a 1-dimensional composite quadrature rule.

Currently, the library only allows composite rules of the 1 point midpoint formula. A 1D composite rule of the midpoint rule is suitable for integration of functions with low or variable smoothness. A sparse grid formed from such rules can better handle multidimensional integrands with limited smoothness.

Of course, for both the 1D composite rule and the sparse grid rule, the repeated use of the midpoint rule limits the order of accuracy of the quadrature; therefore, if the integrand is known to be of higher smoothness, other approaches will produce an accurate answer more quickly.

Licensing:

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

Languages:

sparse_grid_composite is available in a MATLAB version.

Related Data and Programs:

grid_display, a MATLAB code which can display a 2d or 3d grid or sparse grid.

quadrature_rules, a dataset directory of files which define quadrature rules; a number of examples of sparse grid quadrature rules are included.

quadrule, a MATLAB code which defines quadrature rules for various intervals and weight functions.

sparse_grid_cc, a MATLAB code which creates sparse grids based on clenshaw-curtis rules.

sparse_grid_composite, a dataset directory which contains examples of sparse grids based on 1d composite rules (currently only of order 1).

sparse_grid_composite_test

sparse_grid_f2, a dataset directory which contains the abscissas of sparse grids based on a fejer type 2 rule.

sparse_grid_gl, a MATLAB code which computes sparse grids based on a gauss-legendre rule.

sparse_grid_gp, a dataset directory which contains the abscissas of sparse grids based on a gauss patterson rule.

sparse_grid_hermite, a MATLAB code which creates sparse grids based on gauss-hermite rules.

sparse_grid_hw, a MATLAB code which creates sparse grids based on gauss-legendre, gauss-hermite, gauss-patterson, or a nested variation of gauss-hermite rules, by florian heiss and viktor winschel.

sparse_grid_ncc, a dataset directory which contains the abscissas of sparse grids based on a newton cotes closed rule.

sparse_grid_nco, a dataset directory which contains the abscissas of sparse grids based on a newton cotes open rule.

toms847, a MATLAB code which uses sparse grids to carry out multilinear hierarchical interpolation. it is commonly known as spinterp, and is by andreas klimke.

Reference:

  1. Volker Barthelmann, Erich Novak, Klaus Ritter,
    High Dimensional Polynomial Interpolation on Sparse Grids,
    Advances in Computational Mathematics,
    Volume 12, Number 4, 2000, pages 273-288.
  2. Thomas Gerstner, Michael Griebel,
    Numerical Integration Using Sparse Grids,
    Numerical Algorithms,
    Volume 18, Number 3-4, 1998, pages 209-232.
  3. Albert Nijenhuis, Herbert Wilf,
    Combinatorial Algorithms for Computers and Calculators,
    Second Edition,
    Academic Press, 1978,
    ISBN: 0-12-519260-6,
    LC: QA164.N54.
  4. Fabio Nobile, Raul Tempone, Clayton Webster,
    A Sparse Grid Stochastic Collocation Method for Partial Differential Equations with Random Input Data,
    SIAM Journal on Numerical Analysis,
    Volume 46, Number 5, 2008, pages 2309-2345.
  5. Sergey Smolyak,
    Quadrature and Interpolation Formulas for Tensor Products of Certain Classes of Functions,
    Doklady Akademii Nauk SSSR,
    Volume 4, 1963, pages 240-243.
  6. Dennis Stanton, Dennis White,
    Constructive Combinatorics,
    Springer, 1986,
    ISBN: 0387963472,
    LC: QA164.S79.

Source Code:


Last revised on 11 January 2021.