08-Jan-2022 10:27:11 test_interp_2d_test() MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test test_interp_2d(). The test requires r8lib(). TEST_INTERP_2D_TEST01 For each grid and function, print the title. GRIDS: Index Title 1 Franke's 100 node set 2 Franke's 33 node set 3 Lawson's 25 node set 4 Random 100 node set 5 Gridded 81 node set FUNCTIONS: Index Title 1 Exponential 2 Cliff 3 Saddle 4 Gentle 5 Steep 6 Sphere 7 Trig 8 Synergistic Gaussian 9 Cloverleaf Asymmetric Peak/Valley 10 Cosine Peak 11 Bilinear function 12 Vicente Romero function 13 Rescaled Runge function TEST_INTERP_2D_TEST02 Sample each function over each grid. 1 Exponential Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set 0.0271963 0.384169 1.16899 2 Franke's 33 node set 0.0358696 0.408824 1.18919 3 Lawson's 25 node set 0.0494265 0.405368 1.17104 4 Random 100 node set 0.032093 0.422331 1.21823 5 Gridded 81 node set 0.0358696 0.387179 1.16528 2 Cliff Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set 1.21154e-09 0.109485 0.222222 2 Franke's 33 node set 3.38444e-09 0.106513 0.222222 3 Lawson's 25 node set 4.5689e-10 0.109461 0.222222 4 Random 100 node set 6.85077e-08 0.116311 0.222222 5 Gridded 81 node set 3.38444e-09 0.111111 0.222222 3 Saddle Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set 0.0116548 0.120464 0.367587 2 Franke's 33 node set 0.0115309 0.115052 0.302832 3 Lawson's 25 node set 0.00720951 0.118374 0.331042 4 Random 100 node set 0.00886799 0.125377 0.345073 5 Gridded 81 node set 0.0092372 0.121311 0.369231 4 Gentle Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set 0.0196481 0.14406 0.319591 2 Franke's 33 node set 0.0265198 0.134012 0.282764 3 Lawson's 25 node set 0.0146295 0.143215 0.330969 4 Random 100 node set 0.0423356 0.157611 0.330422 5 Gridded 81 node set 0.0265198 0.140879 0.333333 5 Steep Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set 4.02392e-06 0.0430615 0.28167 2 Franke's 33 node set 1.33551e-05 0.0249386 0.172607 3 Lawson's 25 node set 1.23676e-06 0.0473504 0.323975 4 Random 100 node set 8.67331e-05 0.0490016 0.321839 5 Gridded 81 node set 1.33551e-05 0.0408404 0.333333 6 Sphere Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set -0.0194983 0.262035 0.384199 2 Franke's 33 node set 0.0386311 0.25328 0.370416 3 Lawson's 25 node set -0.0845221 0.247394 0.388098 4 Random 100 node set 0.118478 0.281993 0.387914 5 Gridded 81 node set 0.0386311 0.25762 0.388889 7 Trig Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set -1.93814 0.242989 2.85287 2 Franke's 33 node set -1.91785 0.0784131 2.35649 3 Lawson's 25 node set -1.66577 0.375996 2.57474 4 Random 100 node set -1.81535 0.399934 2.90169 5 Gridded 81 node set -1.91785 0.225929 2.60109 8 Synergistic Gaussian Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set 1.87123e-06 0.433902 1.90434 2 Franke's 33 node set 6.52165e-06 0.327527 1.00001 3 Lawson's 25 node set 3.78323e-07 0.514013 2.39815 4 Random 100 node set 7.49176e-05 0.469512 2.37495 5 Gridded 81 node set 6.52165e-06 0.427157 2.5 9 Cloverleaf Asymmetric Peak/Valley Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set -60.8627 1.43162 78.5895 2 Franke's 33 node set -44.6383 6.72271 77.2468 3 Lawson's 25 node set -50.7592 1.1093 49.4324 4 Random 100 node set -55.4822 0.683879 81.4924 5 Gridded 81 node set -59.9567 0.422078 78.0926 10 Cosine Peak Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set -0.446313 -0.00428892 0.341611 2 Franke's 33 node set -0.432844 -0.00791247 0.193855 3 Lawson's 25 node set -0.448155 -0.029107 0.764125 4 Random 100 node set -0.447547 0.0154399 0.72923 5 Gridded 81 node set -0.444832 -0.00174424 1 11 Bilinear function Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set -0.0850905 0.754275 1.94568 2 Franke's 33 node set 0 0.843939 2 3 Lawson's 25 node set -0.070625 0.716452 1.81359 4 Random 100 node set 0.0126025 0.745831 1.84859 5 Gridded 81 node set 0 0.75 2 12 Vicente Romero function Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set -0.143695 0.597256 1.83297 2 Franke's 33 node set 0 0.649405 1.87271 3 Lawson's 25 node set -0.237135 0.531723 1.77404 4 Random 100 node set 0.0173431 0.629702 1.7131 5 Gridded 81 node set 0 0.59476 1.87271 13 Rescaled Runge function Grid Title Min(F) Ave(F) Max(F) 1 Franke's 100 node set 0.0175672 0.0914553 0.545961 2 Franke's 33 node set 0.0196078 0.0643983 0.235294 3 Lawson's 25 node set 0.0159362 0.107878 0.876712 4 Random 100 node set 0.0239459 0.108257 0.852306 5 Gridded 81 node set 0.0196078 0.0927931 1 TEST_INTERP_2D_TEST03 Plot each grid. Created file "grid_01.png". Created file "grid_02.png". Created file "grid_03.png". Created file "grid_04.png". Created file "grid_05.png". test_interp_2d_test(): Normal end of execution. 08-Jan-2022 10:27:16