SPARSE_GRID_GL is a dataset directory which contains some examples of sparse grids, using the idea of a level to control the number of points, and assigning point locations using the Gauss-Legendre rule.
Each sparse grid is stored using the "quadrature rule" format, that is, as three files:
The abscissas are ordered to respect the natural nesting of the sparse grids by level. That is, the file of level 3 points begins by listing the points in the level 2 grid.
Here is the text of an "R" file storing two points that define the endpoints of the region, for a sparse grid rule of dimension 2 and level 1:
-1.000000 -1.000000
1.000000 +1.000000
Here is the text of an "W" file storing the weights of a Gauss-Legendre sparse grid rule of dimension 2 and level 1:
-0.444444
1.111111
1.111111
1.111111
1.111111
Here is the text of an "X" file storing the abscissas of a Gauss-Legendre sparse grid rule of dimension 2 and level 1:
0.000000 0.000000
-0.774596 0.000000
0.774596 0.000000
0.000000 -0.774596
0.000000 0.774596
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
LEGENDRE_RULE, is a C++ program which computes a 1D Gauss-Legendre quadrature rule.
NINT_EXACTNESS_MIXED is a C++ program which measures the polynomial exactness of a multidimensional quadrature rule based on a mixture of 1D quadrature rule factors.
SPARSE_GRID_DISPLAY, a MATLAB program which reads a file of points on a sparse grid, displays the grid and save the image in a PNG file;
SPARSE_GRID_GL, a C++ library which creates sparse grids based on Gauss-Legendre rules.
SPARSE_GRID_GL_DATASET, a C++ program which creates a sparse grid dataset based on Gauss-Legendre rules.
SPARSE_GRID_MIXED, a C++ library which creates a sparse grid dataset based on a mixed set of 1D factor rules.
SPINTERP, a MATLAB library which carries out piecewise multilinear hierarchical sparse grid interpolation, by Andreas Klimke; ACM TOMS Algorithm 847.
TABLE, a data directory which contains examples of TABLE files, a simple format for N points in M dimensions;
Gauss-Legendre sparse grids in 2D.
Gauss-Legendre sparse grids in 6D.
Gauss-Legendre sparse grids in 10D.
You can go up one level to the DATASETS page.