29 July 2010 09:27:21 AM SGMGA_INDEX_PRB C version Test the SGMGA_INDEX function. SGMGA_INDEX_TESTS Call SGMGA_INDEX_TEST with various arguments. All tests will use a point equality tolerance of 1.490116e-08 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 1.000000 LEVEL_WEIGHT: 1.000000 1.000000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 1 Exponential For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 3 1 / 1 1 1 / 1 1 / 3 2 1 / 1 2 / 3 3 1 / 1 3 / 3 4 3 / 3 1 / 1 For LEVEL_MAX = 2 0 1 / 3 1 / 3 1 1 / 3 2 / 3 2 1 / 3 3 / 3 3 2 / 5 1 / 1 4 1 / 1 1 / 5 5 1 / 1 2 / 5 6 1 / 1 3 / 5 7 1 / 1 4 / 5 8 1 / 1 5 / 5 9 4 / 5 1 / 1 10 3 / 3 1 / 3 11 3 / 3 2 / 3 12 3 / 3 3 / 3 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 LEVEL_WEIGHT: 1.000000 0.500000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 1 Exponential For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 5 2 1 / 1 2 / 5 3 1 / 1 3 / 5 4 1 / 1 4 / 5 5 1 / 1 5 / 5 6 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 1.000000 1.000000 LEVEL_WEIGHT: 1.000000 1.000000 1.000000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 1 Exponential 2 1 Exponential For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 3 1 / 1 1 / 1 1 1 / 1 1 / 3 1 / 1 2 1 / 1 1 / 1 1 / 3 3 1 / 1 1 / 1 2 / 3 4 1 / 1 1 / 1 3 / 3 5 1 / 1 3 / 3 1 / 1 6 3 / 3 1 / 1 1 / 1 For LEVEL_MAX = 2 0 1 / 3 1 / 3 1 / 1 1 1 / 3 1 / 1 1 / 3 2 1 / 3 1 / 1 2 / 3 3 1 / 3 1 / 1 3 / 3 4 1 / 3 3 / 3 1 / 1 5 2 / 5 1 / 1 1 / 1 6 1 / 1 1 / 3 1 / 3 7 1 / 1 1 / 3 2 / 3 8 1 / 1 1 / 3 3 / 3 9 1 / 1 2 / 5 1 / 1 10 1 / 1 1 / 1 1 / 5 11 1 / 1 1 / 1 2 / 5 12 1 / 1 1 / 1 3 / 5 13 1 / 1 1 / 1 4 / 5 14 1 / 1 1 / 1 5 / 5 15 1 / 1 4 / 5 1 / 1 16 1 / 1 3 / 3 1 / 3 17 1 / 1 3 / 3 2 / 3 18 1 / 1 3 / 3 3 / 3 19 4 / 5 1 / 1 1 / 1 20 3 / 3 1 / 3 1 / 1 21 3 / 3 1 / 1 1 / 3 22 3 / 3 1 / 1 2 / 3 23 3 / 3 1 / 1 3 / 3 24 3 / 3 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 3.000000 LEVEL_WEIGHT: 1.000000 0.500000 0.333333 Dimension Rule Growth rate Parameters 0 1 Exponential 1 1 Exponential 2 1 Exponential For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 1 1 / 3 1 1 / 1 1 / 1 2 / 3 2 1 / 1 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 1 1 / 3 1 / 1 1 1 / 1 1 / 1 1 / 5 2 1 / 1 1 / 1 2 / 5 3 1 / 1 1 / 1 3 / 5 4 1 / 1 1 / 1 4 / 5 5 1 / 1 1 / 1 5 / 5 6 1 / 1 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 LEVEL_WEIGHT: 1.000000 0.500000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 3 Exponential For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 7 2 1 / 1 2 / 7 3 1 / 1 3 / 7 4 1 / 1 4 / 7 5 1 / 1 5 / 7 6 1 / 1 6 / 7 7 1 / 1 7 / 7 8 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 LEVEL_WEIGHT: 1.000000 0.500000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 4 Linear For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 5 2 1 / 1 2 / 5 3 1 / 1 3 / 5 4 1 / 1 4 / 5 5 1 / 1 5 / 5 6 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 LEVEL_WEIGHT: 1.000000 0.500000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 7 Linear For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 5 2 2 / 3 1 / 1 3 1 / 1 2 / 5 4 1 / 1 3 / 5 5 1 / 1 4 / 5 6 1 / 1 5 / 5 7 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 LEVEL_WEIGHT: 1.000000 0.500000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 8 Linear 1.500000 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 5 2 1 / 1 2 / 5 3 2 / 3 1 / 1 4 1 / 1 3 / 5 5 1 / 1 4 / 5 6 1 / 1 5 / 5 7 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 LEVEL_WEIGHT: 1.000000 0.500000 Dimension Rule Growth rate Parameters 0 2 Exponential 1 9 Linear 0.500000 1.500000 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 5 2 1 / 1 2 / 5 3 1 / 1 3 / 5 4 2 / 3 1 / 1 5 1 / 1 4 / 5 6 1 / 1 5 / 5 7 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 LEVEL_WEIGHT: 1.000000 0.500000 Dimension Rule Growth rate Parameters 0 6 Linear 2.000000 1 4 Linear For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 5 2 1 / 1 2 / 5 3 1 / 1 3 / 5 4 1 / 1 4 / 5 5 1 / 1 5 / 5 6 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 3.000000 LEVEL_WEIGHT: 1.000000 0.500000 0.333333 Dimension Rule Growth rate Parameters 0 1 Exponential 1 4 Linear 2 5 Linear For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 1 1 / 3 1 1 / 1 1 / 1 2 / 3 2 1 / 1 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 1 1 / 3 1 / 1 1 1 / 1 1 / 1 1 / 5 2 1 / 1 1 / 1 2 / 5 3 1 / 1 1 / 1 3 / 5 4 1 / 1 1 / 1 4 / 5 5 1 / 1 1 / 1 5 / 5 6 1 / 1 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 2.000000 3.000000 LEVEL_WEIGHT: 1.000000 0.500000 0.333333 Dimension Rule Growth rate Parameters 0 1 Exponential 1 10 Linear 2 10 Linear For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 1 1 / 3 1 1 / 1 1 / 1 2 / 3 2 1 / 1 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 1 1 / 3 1 / 1 1 1 / 1 1 / 1 1 / 5 2 1 / 1 1 / 1 2 / 5 3 1 / 1 1 / 1 3 / 5 4 1 / 1 1 / 1 4 / 5 5 1 / 1 1 / 1 5 / 5 6 1 / 1 3 / 3 1 / 1 SGMGA_INDEX_TEST SGMGA_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. IMPORTANCE: 1.000000 0.000000 1.000000 LEVEL_WEIGHT: 1.000000 0.000000 1.000000 Dimension Rule Growth rate Parameters 0 1 Exponential 1 1 Exponential 2 1 Exponential For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 3 1 / 1 1 / 1 1 1 / 1 1 / 1 1 / 3 2 1 / 1 1 / 1 2 / 3 3 1 / 1 1 / 1 3 / 3 4 3 / 3 1 / 1 1 / 1 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 / 3 1 1 / 3 1 / 1 2 / 3 2 1 / 3 1 / 1 3 / 3 3 2 / 5 1 / 1 1 / 1 4 1 / 1 1 / 1 1 / 5 5 1 / 1 1 / 1 2 / 5 6 1 / 1 1 / 1 3 / 5 7 1 / 1 1 / 1 4 / 5 8 1 / 1 1 / 1 5 / 5 9 4 / 5 1 /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