07 March 2011 10:45:03 AM SPARSE_GRID_MIXED_WEIGHT_PRB C++ version SPARSE_GRID_MIXED_WEIGHT_TESTS Call SPARSE_GRID_MIXED_WEIGHT_TEST with various arguments. All tests will use a point equality tolerance of 0 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 1 1 1 As a simple test, sum these weights. They should sum to exactly 4 Level Weight sum Expected sum Difference 0 4 4 0 1 4 4 0 2 4 4 0 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 1 1 3 As a simple test, sum these weights. They should sum to exactly 4 Level Weight sum Expected sum Difference 0 4 4 0 1 4 4 0 2 4 4 4.44089e-16 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 1 1 4 As a simple test, sum these weights. They should sum to exactly 4 Level Weight sum Expected sum Difference 0 4 4 0 1 4 4 8.88178e-16 2 4 4 4.44089e-16 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 1 1 7 As a simple test, sum these weights. They should sum to exactly 2 Level Weight sum Expected sum Difference 0 2 2 0 1 2 2 1.33227e-15 2 2 2 1.33227e-15 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 1 1 8 1.5 As a simple test, sum these weights. They should sum to exactly 2.65868 Level Weight sum Expected sum Difference 0 2.65868 2.65868 0 1 2.65868 2.65868 1.77636e-15 2 2.65868 2.65868 0 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 2 1 9 0.5 1.5 As a simple test, sum these weights. They should sum to exactly 3.14159 Level Weight sum Expected sum Difference 0 3.14159 3.14159 8.88178e-16 1 3.14159 3.14159 8.88178e-16 2 3.14159 3.14159 4.44089e-16 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 6 2 1 4 As a simple test, sum these weights. They should sum to exactly 1.77245 Level Weight sum Expected sum Difference 0 1.77245 1.77245 0 1 1.77245 1.77245 4.44089e-16 2 1.77245 1.77245 2.22045e-16 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 1 1 2 2 5 As a simple test, sum these weights. They should sum to exactly 7.08982 Level Weight sum Expected sum Difference 0 7.08982 7.08982 2.20632e-11 1 7.08982 7.08982 2.20624e-11 2 7.08982 7.08982 2.20615e-11 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 3 1 3 As a simple test, sum these weights. They should sum to exactly 4 Level Weight sum Expected sum Difference 0 4 4 0 1 4 4 0 2 4 4 0 3 4 4 0 4 4 4 8.88178e-16 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 13 1 13 As a simple test, sum these weights. They should sum to exactly 4 Level Weight sum Expected sum Difference 0 4 4 0 1 4 4 0 2 4 4 0 3 4 4 8.88178e-16 4 4 4 8.88178e-16 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 16 1 16 As a simple test, sum these weights. They should sum to exactly 4 Level Weight sum Expected sum Difference 0 4 4 0 1 4 4 0 2 4 4 0 3 4 4 0 4 4 4 8.88178e-16 SPARSE_GRID_MIXED_WEIGHT_TEST Compute the weights of a sparse grid. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. Dimension Rule Alpha Beta 0 17 1 17 As a simple test, sum these weights. They should sum to exactly 4 Level Weight sum Expected sum Difference 0 4 4 0 1 4 4 0 2 4 4 8.88178e-16 3 nan 4 nan 4 nan 4 nan SPARSE_GRID_MIXED_WEIGHT_PRB Normal end of execution. 07 March 2011 10:45:03 AM