>> sparse_grid_mixed_index_tests 05-Mar-2011 11:29:08 SPARSE_GRID_MIXED_INDEX_TESTS MATLAB version Call SPARSE_GRID_MIXED_INDEX_TEST with various arguments. All tests will use a point equality tolerance of 1.490116e-08 SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 1 2 1 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 2: 1 / 1, 1 / 3, 3: 1 / 1, 2 / 3, 4: 1 / 1, 3 / 3, 5: 3 / 3, 1 / 1, For LEVEL_MAX = 2 1: 1 / 3, 1 / 3, 2: 1 / 3, 2 / 3, 3: 1 / 3, 3 / 3, 4: 2 / 5, 1 / 1, 5: 1 / 1, 1 / 5, 6: 1 / 1, 2 / 5, 7: 1 / 1, 3 / 5, 8: 1 / 1, 4 / 5, 9: 1 / 1, 5 / 5, 10: 4 / 5, 1 / 1, 11: 3 / 3, 1 / 3, 12: 3 / 3, 2 / 3, 13: 3 / 3, 3 / 3, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 1 2 3 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 2: 1 / 1, 1 / 3, 3: 1 / 1, 2 / 3, 4: 1 / 1, 3 / 3, 5: 3 / 3, 1 / 1, For LEVEL_MAX = 2 1: 1 / 3, 1 / 3, 2: 1 / 3, 2 / 3, 3: 1 / 3, 3 / 3, 4: 2 / 5, 1 / 1, 5: 1 / 1, 1 / 7, 6: 1 / 1, 2 / 7, 7: 1 / 1, 3 / 7, 8: 1 / 1, 4 / 7, 9: 1 / 1, 5 / 7, 10: 1 / 1, 6 / 7, 11: 1 / 1, 7 / 7, 12: 4 / 5, 1 / 1, 13: 3 / 3, 1 / 3, 14: 3 / 3, 2 / 3, 15: 3 / 3, 3 / 3, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 1 2 4 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 2: 1 / 1, 1 / 3, 3: 1 / 1, 2 / 3, 4: 1 / 1, 3 / 3, 5: 3 / 3, 1 / 1, For LEVEL_MAX = 2 1: 1 / 3, 1 / 3, 2: 1 / 3, 2 / 3, 3: 1 / 3, 3 / 3, 4: 2 / 5, 1 / 1, 5: 1 / 1, 1 / 5, 6: 2 / 3, 1 / 3, 7: 1 / 1, 2 / 5, 8: 1 / 1, 3 / 5, 9: 1 / 1, 4 / 5, 10: 2 / 3, 3 / 3, 11: 1 / 1, 5 / 5, 12: 4 / 5, 1 / 1, 13: 3 / 3, 1 / 3, 14: 3 / 3, 2 / 3, 15: 3 / 3, 3 / 3, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 1 2 7 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 2: 1 / 1, 1 / 3, 3: 2 / 3, 1 / 1, 4: 1 / 1, 2 / 3, 5: 1 / 1, 3 / 3, 6: 3 / 3, 1 / 1, For LEVEL_MAX = 2 1: 1 / 3, 1 / 3, 2: 1 / 5, 1 / 1, 3: 1 / 3, 2 / 3, 4: 1 / 3, 3 / 3, 5: 2 / 5, 1 / 1, 6: 1 / 1, 1 / 5, 7: 2 / 3, 1 / 3, 8: 3 / 5, 1 / 1, 9: 1 / 1, 2 / 5, 10: 2 / 3, 2 / 3, 11: 1 / 1, 3 / 5, 12: 2 / 3, 3 / 3, 13: 1 / 1, 4 / 5, 14: 1 / 1, 5 / 5, 15: 4 / 5, 1 / 1, 16: 3 / 3, 1 / 3, 17: 5 / 5, 1 / 1, 18: 3 / 3, 2 / 3, 19: 3 / 3, 3 / 3, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 1 2 8 1.500000e+00 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 2: 1 / 1, 1 / 3, 3: 2 / 3, 1 / 1, 4: 1 / 1, 2 / 3, 5: 1 / 1, 3 / 3, 6: 3 / 3, 1 / 1, For LEVEL_MAX = 2 1: 1 / 3, 1 / 3, 2: 1 / 5, 1 / 1, 3: 1 / 3, 2 / 3, 4: 1 / 3, 3 / 3, 5: 2 / 5, 1 / 1, 6: 1 / 1, 1 / 5, 7: 2 / 3, 1 / 3, 8: 1 / 1, 2 / 5, 9: 3 / 5, 1 / 1, 10: 2 / 3, 2 / 3, 11: 1 / 1, 3 / 5, 12: 2 / 3, 3 / 3, 13: 1 / 1, 4 / 5, 14: 1 / 1, 5 / 5, 15: 4 / 5, 1 / 1, 16: 3 / 3, 1 / 3, 17: 5 / 5, 1 / 1, 18: 3 / 3, 2 / 3, 19: 3 / 3, 3 / 3, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 2 2 9 5.000000e-01 1.500000e+00 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 2: 1 / 1, 1 / 3, 3: 1 / 1, 2 / 3, 4: 2 / 3, 1 / 1, 5: 1 / 1, 3 / 3, 6: 3 / 3, 1 / 1, For LEVEL_MAX = 2 1: 1 / 7, 1 / 1, 2: 1 / 3, 1 / 3, 3: 1 / 3, 2 / 3, 4: 2 / 7, 1 / 1, 5: 1 / 3, 3 / 3, 6: 3 / 7, 1 / 1, 7: 1 / 1, 1 / 5, 8: 2 / 3, 1 / 3, 9: 1 / 1, 2 / 5, 10: 1 / 1, 3 / 5, 11: 2 / 3, 2 / 3, 12: 4 / 7, 1 / 1, 13: 1 / 1, 4 / 5, 14: 2 / 3, 3 / 3, 15: 1 / 1, 5 / 5, 16: 5 / 7, 1 / 1, 17: 3 / 3, 1 / 3, 18: 3 / 3, 2 / 3, 19: 6 / 7, 1 / 1, 20: 3 / 3, 3 / 3, 21: 7 / 7, 1 / 1, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 6 2.000000e+00 2 4 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 2: 1 / 1, 1 / 3, 3: 1 / 1, 2 / 3, 4: 1 / 1, 3 / 3, 5: 3 / 3, 1 / 1, For LEVEL_MAX = 2 1: 1 / 5, 1 / 1, 2: 1 / 3, 1 / 3, 3: 1 / 3, 2 / 3, 4: 1 / 3, 3 / 3, 5: 2 / 5, 1 / 1, 6: 1 / 1, 1 / 5, 7: 2 / 3, 1 / 3, 8: 1 / 1, 2 / 5, 9: 1 / 1, 3 / 5, 10: 1 / 1, 4 / 5, 11: 2 / 3, 3 / 3, 12: 1 / 1, 5 / 5, 13: 4 / 5, 1 / 1, 14: 3 / 3, 1 / 3, 15: 3 / 3, 2 / 3, 16: 3 / 3, 3 / 3, 17: 5 / 5, 1 / 1, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 1 2 2 3 5 For LEVEL_MAX = 0 1: 1 / 1, 1 / 1, 1 / 1, For LEVEL_MAX = 1 1: 1 / 3, 1 / 1, 1 / 1, 2: 1 / 1, 1 / 3, 1 / 1, 3: 1 / 1, 1 / 1, 1 / 3, 4: 1 / 1, 1 / 1, 2 / 3, 5: 1 / 1, 1 / 1, 3 / 3, 6: 1 / 1, 3 / 3, 1 / 1, 7: 3 / 3, 1 / 1, 1 / 1, For LEVEL_MAX = 2 1: 1 / 3, 1 / 3, 1 / 1, 2: 1 / 3, 1 / 1, 1 / 3, 3: 1 / 3, 1 / 1, 2 / 3, 4: 1 / 3, 1 / 1, 3 / 3, 5: 1 / 3, 3 / 3, 1 / 1, 6: 2 / 5, 1 / 1, 1 / 1, 7: 1 / 1, 1 / 7, 1 / 1, 8: 1 / 1, 1 / 3, 1 / 3, 9: 1 / 1, 1 / 3, 2 / 3, 10: 1 / 1, 1 / 3, 3 / 3, 11: 1 / 1, 3 / 7, 1 / 1, 12: 1 / 1, 1 / 1, 1 / 5, 13: 1 / 1, 2 / 3, 1 / 3, 14: 1 / 1, 1 / 1, 2 / 5, 15: 1 / 1, 1 / 1, 3 / 5, 16: 1 / 1, 1 / 1, 4 / 5, 17: 1 / 1, 2 / 3, 3 / 3, 18: 1 / 1, 1 / 1, 5 / 5, 19: 1 / 1, 5 / 7, 1 / 1, 20: 1 / 1, 3 / 3, 1 / 3, 21: 1 / 1, 3 / 3, 2 / 3, 22: 1 / 1, 3 / 3, 3 / 3, 23: 1 / 1, 7 / 7, 1 / 1, 24: 4 / 5, 1 / 1, 1 / 1, 25: 3 / 3, 1 / 3, 1 / 1, 26: 3 / 3, 1 / 1, 1 / 3, 27: 3 / 3, 1 / 1, 2 / 3, 28: 3 / 3, 1 / 1, 3 / 3, 29: 3 / 3, 3 / 3, 1 / 1, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 13 2 13 For LEVEL_MAX = 3 1: 1 / 7, 1 / 1, 2: 1 / 3, 1 / 3, 3: 1 / 3, 2 / 3, 4: 1 / 3, 3 / 3, 5: 3 / 7, 1 / 1, 6: 1 / 1, 1 / 7, 7: 1 / 1, 2 / 7, 8: 1 / 1, 3 / 7, 9: 1 / 1, 4 / 7, 10: 1 / 1, 5 / 7, 11: 1 / 1, 6 / 7, 12: 1 / 1, 7 / 7, 13: 5 / 7, 1 / 1, 14: 3 / 3, 1 / 3, 15: 3 / 3, 2 / 3, 16: 3 / 3, 3 / 3, 17: 7 / 7, 1 / 1, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 16 2 16 For LEVEL_MAX = 3 1: 1 / 15, 1 / 1, 2: 1 / 7, 1 / 3, 3: 1 / 7, 2 / 3, 4: 1 / 7, 3 / 3, 5: 3 / 15, 1 / 1, 6: 1 / 3, 1 / 7, 7: 1 / 3, 2 / 7, 8: 1 / 3, 3 / 7, 9: 1 / 3, 4 / 7, 10: 1 / 3, 5 / 7, 11: 1 / 3, 6 / 7, 12: 1 / 3, 7 / 7, 13: 5 / 15, 1 / 1, 14: 3 / 7, 1 / 3, 15: 3 / 7, 2 / 3, 16: 3 / 7, 3 / 3, 17: 7 / 15, 1 / 1, 18: 1 / 1, 1 / 15, 19: 1 / 1, 2 / 15, 20: 1 / 1, 3 / 15, 21: 1 / 1, 4 / 15, 22: 1 / 1, 5 / 15, 23: 1 / 1, 6 / 15, 24: 1 / 1, 7 / 15, 25: 1 / 1, 8 / 15, 26: 1 / 1, 9 / 15, 27: 1 / 1, 10 / 15, 28: 1 / 1, 11 / 15, 29: 1 / 1, 12 / 15, 30: 1 / 1, 13 / 15, 31: 1 / 1, 14 / 15, 32: 1 / 1, 15 / 15, 33: 9 / 15, 1 / 1, 34: 5 / 7, 1 / 3, 35: 5 / 7, 2 / 3, 36: 5 / 7, 3 / 3, 37: 11 / 15, 1 / 1, 38: 3 / 3, 1 / 7, 39: 3 / 3, 2 / 7, 40: 3 / 3, 3 / 7, 41: 3 / 3, 4 / 7, 42: 3 / 3, 5 / 7, 43: 3 / 3, 6 / 7, 44: 3 / 3, 7 / 7, 45: 13 / 15, 1 / 1, 46: 7 / 7, 1 / 3, 47: 7 / 7, 2 / 3, 48: 7 / 7, 3 / 3, 49: 15 / 15, 1 / 1, SPARSE_GRID_MIXED_INDEX_TEST SPARSE_GRID_MIXED_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. 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 1 17 2 17 For LEVEL_MAX = 4 1: 2 / 3, 2 / 7, 2: 2 / 3, 6 / 7, 3: 2 / 3, 4 / 7, 4: 2 / 3, 1 / 7, 5: 2 / 3, 5 / 7, 6: 2 / 3, 7 / 7, 7: 2 / 3, 3 / 7, 8: 6 / 7, 2 / 3, 9: 6 / 7, 1 / 3, 10: 6 / 7, 3 / 3, 11: 4 / 5, 2 / 5, 12: 4 / 5, 4 / 5, 13: 4 / 5, 1 / 5, 14: 4 / 5, 5 / 5, 15: 4 / 5, 3 / 5, 16: 8 / 9, 1 / 1, 17: 1 / 1, 2 / 9, 18: 1 / 1, 6 / 9, 19: 1 / 1, 4 / 9, 20: 1 / 1, 8 / 9, 21: 1 / 1, 1 / 9, 22: 1 / 1, 9 / 9, 23: 1 / 1, 5 / 9, 24: 1 / 1, 7 / 9, 25: 1 / 1, 3 / 9, 26: 9 / 9, 1 / 1, 27: 5 / 5, 2 / 5, 28: 5 / 5, 4 / 5, 29: 5 / 5, 1 / 5, 30: 5 / 5, 5 / 5, 31: 5 / 5, 3 / 5, 32: 7 / 7, 2 / 3, 33: 7 / 7, 1 / 3, 34: 7 / 7, 3 / 3, 35: 3 / 3, 2 / 7, 36: 3 / 3, 6 / 7, 37: 3 / 3, 4 / 7, 38: 3 / 3, 1 / 7, 39: 3 / 3, 5 / 7, 40: 3 / 3, 7 / 7, 41: 3 / 3, 3 / 7, SPARSE_GRID_MIXED_INDEX_TESTS Normal end of execution. 05-Mar-2011 11:29:08 >>