03-Feb-2021 09:26:51 toms847_test MATLAB/Octave version 9.9.0.1467703 (R2020b) Test toms847. Sparse grid representation of the function: z = struct with fields: vals: {[0.1016] [4x1 double] [8x1 double] [16x1 double] [36x1 double] [80x1 double] [176x1 double] [384x1 double] [832x1 double]} gridType: 'Clenshaw-Curtis' d: 2 range: [2x2 double] maxLevel: 8 estRelError: 0.0090 fevalRange: [0.0049 0.9975] minGridVal: [1 0] maxGridVal: [0.0625 0.6250] nPoints: 1537 fevalTime: 0.0800 surplusCompTime: 0.0432 Current dim: 1 Computing sparse grid surpluses up to level 17... Computing time: 0.20116 [s]. Performing 1000 evaluations for each level... Done! Current dim: 2 Computing sparse grid surpluses up to level 13... Computing time: 0.46108 [s]. Performing 1000 evaluations for each level... Done! Current dim: 4 Computing sparse grid surpluses up to level 10... Computing time: 1.1417 [s]. Performing 1000 evaluations for each level... Done! Current dim: 8 Computing sparse grid surpluses up to level 6... Computing time: 0.5874 [s]. Performing 1000 evaluations for each level... Done! Current dim: 16 Computing sparse grid surpluses up to level 4... Computing time: 0.92971 [s]. Performing 1000 evaluations for each level... Done! Current dim: 1 Current level n = 0... [Warning: MaxDepth = 0 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is Inf.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.001997 [s]. Computing hierarchical surpluses took 0 [s]. Current level n = 1... [Warning: MaxDepth = 1 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.50531.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.000585 [s]. Computing hierarchical surpluses took 5.9e-05 [s]. Current level n = 2... Computing sparse grid points and evaluating function took 0.000554 [s]. Computing hierarchical surpluses took 0.000129 [s]. Current level n = 3... Computing sparse grid points and evaluating function took 0.000616 [s]. Computing hierarchical surpluses took 0.000223 [s]. Current level n = 4... Computing sparse grid points and evaluating function took 0.000714 [s]. Computing hierarchical surpluses took 0.000329 [s]. Current level n = 5... Computing sparse grid points and evaluating function took 0.000762 [s]. Computing hierarchical surpluses took 0.00044 [s]. Current level n = 6... Computing sparse grid points and evaluating function took 0.000839 [s]. Computing hierarchical surpluses took 0.000578 [s]. Current level n = 7... Computing sparse grid points and evaluating function took 0.001103 [s]. Computing hierarchical surpluses took 0.000777 [s]. Current level n = 8... Computing sparse grid points and evaluating function took 0.001275 [s]. Computing hierarchical surpluses took 0.000983 [s]. Current level n = 9... Computing sparse grid points and evaluating function took 0.001369 [s]. Computing hierarchical surpluses took 0.001507 [s]. Current level n = 10... Computing sparse grid points and evaluating function took 0.001579 [s]. Computing hierarchical surpluses took 0.001931 [s]. Current level n = 11... Computing sparse grid points and evaluating function took 0.001817 [s]. Computing hierarchical surpluses took 0.002419 [s]. Current level n = 12... Computing sparse grid points and evaluating function took 0.001642 [s]. Computing hierarchical surpluses took 0.002498 [s]. Current level n = 13... Computing sparse grid points and evaluating function took 0.002528 [s]. Computing hierarchical surpluses took 0.004307 [s]. Current level n = 14... Computing sparse grid points and evaluating function took 0.002614 [s]. Computing hierarchical surpluses took 0.007112 [s]. Current level n = 15... Computing sparse grid points and evaluating function took 0.002887 [s]. Computing hierarchical surpluses took 0.010535 [s]. Current level n = 16... Computing sparse grid points and evaluating function took 0.004394 [s]. Computing hierarchical surpluses took 0.020748 [s]. Current level n = 17... Computing sparse grid points and evaluating function took 0.005365 [s]. Computing hierarchical surpluses took 0.038428 [s]. Current dim: 2 Current level n = 0... [Warning: MaxDepth = 0 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is Inf.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.000525 [s]. Computing hierarchical surpluses took 0 [s]. Current level n = 1... [Warning: MaxDepth = 1 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.54114.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.00041 [s]. Computing hierarchical surpluses took 5.7e-05 [s]. Current level n = 2... Computing sparse grid points and evaluating function took 0.000805 [s]. Computing hierarchical surpluses took 0.000171 [s]. Current level n = 3... Computing sparse grid points and evaluating function took 0.000738 [s]. Computing hierarchical surpluses took 0.000263 [s]. Current level n = 4... Computing sparse grid points and evaluating function took 0.001144 [s]. Computing hierarchical surpluses took 0.000474 [s]. Current level n = 5... Computing sparse grid points and evaluating function took 0.001141 [s]. Computing hierarchical surpluses took 0.000724 [s]. Current level n = 6... Computing sparse grid points and evaluating function took 0.001332 [s]. Computing hierarchical surpluses took 0.001063 [s]. Current level n = 7... Computing sparse grid points and evaluating function took 0.001901 [s]. Computing hierarchical surpluses took 0.002221 [s]. Current level n = 8... Computing sparse grid points and evaluating function took 0.002352 [s]. Computing hierarchical surpluses took 0.004167 [s]. Current level n = 9... Computing sparse grid points and evaluating function took 0.002776 [s]. Computing hierarchical surpluses took 0.009918 [s]. Current level n = 10... Computing sparse grid points and evaluating function took 0.002952 [s]. Computing hierarchical surpluses took 0.023319 [s]. Current level n = 11... Computing sparse grid points and evaluating function took 0.003869 [s]. Computing hierarchical surpluses took 0.059422 [s]. Current level n = 12... Computing sparse grid points and evaluating function took 0.005446 [s]. Computing hierarchical surpluses took 0.15963 [s]. Current level n = 13... Computing sparse grid points and evaluating function took 0.006699 [s]. Computing hierarchical surpluses took 0.40211 [s]. Current dim: 4 Current level n = 0... [Warning: MaxDepth = 0 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is Inf.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.001029 [s]. Computing hierarchical surpluses took 0 [s]. Current level n = 1... [Warning: MaxDepth = 1 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.53478.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.000867 [s]. Computing hierarchical surpluses took 5.9e-05 [s]. Current level n = 2... [Warning: MaxDepth = 2 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.029412.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.000761 [s]. Computing hierarchical surpluses took 0.000141 [s]. Current level n = 3... Computing sparse grid points and evaluating function took 0.001635 [s]. Computing hierarchical surpluses took 0.000439 [s]. Current level n = 4... Computing sparse grid points and evaluating function took 0.002401 [s]. Computing hierarchical surpluses took 0.00107 [s]. Current level n = 5... Computing sparse grid points and evaluating function took 0.005225 [s]. Computing hierarchical surpluses took 0.002501 [s]. Current level n = 6... Computing sparse grid points and evaluating function took 0.007591 [s]. Computing hierarchical surpluses took 0.008006 [s]. Current level n = 7... Computing sparse grid points and evaluating function took 0.011262 [s]. Computing hierarchical surpluses took 0.026396 [s]. Current level n = 8... Computing sparse grid points and evaluating function took 0.017507 [s]. Computing hierarchical surpluses took 0.097471 [s]. Current level n = 9... Computing sparse grid points and evaluating function took 0.025547 [s]. Computing hierarchical surpluses took 0.31637 [s]. Current level n = 10... Computing sparse grid points and evaluating function took 0.037327 [s]. Computing hierarchical surpluses took 1.0537 [s]. Current dim: 8 Current level n = 0... [Warning: MaxDepth = 0 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is Inf.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.000481 [s]. Computing hierarchical surpluses took 0 [s]. Current level n = 1... [Warning: MaxDepth = 1 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.53338.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.000794 [s]. Computing hierarchical surpluses took 5.5e-05 [s]. Current level n = 2... [Warning: MaxDepth = 2 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.033128.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.002851 [s]. Computing hierarchical surpluses took 0.000348 [s]. Current level n = 3... Computing sparse grid points and evaluating function took 0.009989 [s]. Computing hierarchical surpluses took 0.00132 [s]. Current level n = 4... Computing sparse grid points and evaluating function took 0.026816 [s]. Computing hierarchical surpluses took 0.00889 [s]. Current level n = 5... Computing sparse grid points and evaluating function took 0.070613 [s]. Computing hierarchical surpluses took 0.064471 [s]. Current level n = 6... Computing sparse grid points and evaluating function took 0.17024 [s]. Computing hierarchical surpluses took 0.3762 [s]. Current dim: 16 Current level n = 0... [Warning: MaxDepth = 0 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is Inf.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.000635 [s]. Computing hierarchical surpluses took 0 [s]. Current level n = 1... [Warning: MaxDepth = 1 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.51703.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.002275 [s]. Computing hierarchical surpluses took 6.4e-05 [s]. Current level n = 2... [Warning: MaxDepth = 2 reached before accuracies RelTol = 0.01 or AbsTol = 1e-06 were achieved. The current estimated relative accuracy is 0.018623.] [> In spvals (line 192) In timespvals (line 45) In toms847_test (line 30) In run (line 91)] Computing sparse grid points and evaluating function took 0.017793 [s]. Computing hierarchical surpluses took 0.000718 [s]. Current level n = 3... Computing sparse grid points and evaluating function took 0.11104 [s]. Computing hierarchical surpluses took 0.017296 [s]. Current level n = 4... Computing sparse grid points and evaluating function took 0.55799 [s]. Computing hierarchical surpluses took 0.32811 [s]. toms847_test Normal end of toms847 tests. 03-Feb-2021 09:27:09