08-Jan-2022 09:08:00 pwl_approx_1d_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test pwl_approx_1d(). The R8LIB library is needed. The test needs TEST_INTERP_1D. PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 1.31696 Created plot file "p01_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 1.33161 Created plot file "p01_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 1.31696 Created plot file "p01_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 1.33161 Created plot file "p01_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 1.31696 Created plot file "p01_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 1.33161 Created plot file "p01_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 1.31696 Created plot file "p01_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #1. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 1.33161 Created plot file "p01_pwl_16_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 1.24342 Created plot file "p02_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 1.20257 Created plot file "p02_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 1.24342 Created plot file "p02_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 1.20257 Created plot file "p02_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 1.24342 Created plot file "p02_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 1.20257 Created plot file "p02_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 1.24342 Created plot file "p02_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #2. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 1.20257 Created plot file "p02_pwl_16_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 0.708991 Created plot file "p03_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 0.738379 Created plot file "p03_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 0.708991 Created plot file "p03_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 0.738379 Created plot file "p03_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 0.708991 Created plot file "p03_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 0.738379 Created plot file "p03_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 0.708991 Created plot file "p03_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #3. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 0.738379 Created plot file "p03_pwl_16_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 1.3611 Created plot file "p04_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 1.34775 Created plot file "p04_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 1.3611 Created plot file "p04_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 1.34775 Created plot file "p04_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 1.3611 Created plot file "p04_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 1.34775 Created plot file "p04_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 1.3611 Created plot file "p04_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #4. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 1.34775 Created plot file "p04_pwl_16_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 9.74807 Created plot file "p05_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 7.29969 Created plot file "p05_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 9.74807 Created plot file "p05_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 7.29969 Created plot file "p05_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 9.74807 Created plot file "p05_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 7.29969 Created plot file "p05_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 9.74807 Created plot file "p05_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #5. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 7.29969 Created plot file "p05_pwl_16_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 0.36868 Created plot file "p06_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 0.37236 Created plot file "p06_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 0.36868 Created plot file "p06_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 0.37236 Created plot file "p06_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 0.36868 Created plot file "p06_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 0.37236 Created plot file "p06_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 0.36868 Created plot file "p06_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #6. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 0.37236 Created plot file "p06_pwl_16_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 0.441869 Created plot file "p07_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 0.224636 Created plot file "p07_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 0.292634 Created plot file "p07_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 0.152422 Created plot file "p07_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 0.153309 Created plot file "p07_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 0.0965209 Created plot file "p07_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 0 Created plot file "p07_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #7. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 0.0625833 Created plot file "p07_pwl_16_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 2 Number of data points = 16 L2 approximation error averaged per data node = 0.281324 Created plot file "p08_pwl_02_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 2 Number of data points = 64 L2 approximation error averaged per data node = 0.284104 Created plot file "p08_pwl_02_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 4 Number of data points = 16 L2 approximation error averaged per data node = 0.281324 Created plot file "p08_pwl_04_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 4 Number of data points = 64 L2 approximation error averaged per data node = 0.284104 Created plot file "p08_pwl_04_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 8 Number of data points = 16 L2 approximation error averaged per data node = 0.281324 Created plot file "p08_pwl_08_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 8 Number of data points = 64 L2 approximation error averaged per data node = 0.284104 Created plot file "p08_pwl_08_64.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 16 Number of data points = 16 L2 approximation error averaged per data node = 0.281324 Created plot file "p08_pwl_16_16.png". PWL_APPROX_1D_TEST01: Approximate data from TEST_INTERP_1D problem #8. Number of control points = 16 Number of data points = 64 L2 approximation error averaged per data node = 0.284104 Created plot file "p08_pwl_16_64.png". pwl_approx_1d_test(): Normal end of execution. 08-Jan-2022 09:08:17