15 January 2023 03:20:40 PM SPARSE_GRID_MIXED_WEIGHT_TEST 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 1e-06 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 8.88178e-16 1 4 4 8.88178e-16 2 4 4 3.55271e-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 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 0 2 2 2 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 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 4.44089e-16 1 2.65868 2.65868 4.44089e-16 2 2.65868 2.65868 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 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 4.44089e-16 2 3.14159 3.14159 4.88498e-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 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 4.44089e-16 1 1.77245 1.77245 8.88178e-16 2 1.77245 1.77245 1.11022e-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 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 8.88178e-16 1 7.08982 7.08982 1.77636e-15 2 7.08982 7.08982 1.77636e-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 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_TEST Normal end of execution. 15 January 2023 03:20:40 PM