28-Jul-2021 22:38:58 pwl_interp_2d_test(): MATLAB/Octave version 9.9.0.1467703 (R2020b) Test pwl_interp_2d(). The R8LIB library is needed. The test needs TEST_INTERP_2D. PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #1 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0.766421 2: 1 0 0.107558 3: 0 1 0.270337 4: 1 1 0.0358696 X, Y, Z interpolation: 1: 0 0 0.766421 2: 1 0 0.107558 3: 0 1 0.270337 4: 1 1 0.0358696 RMS data interpolation error = 0 RMS data approximation error = 0.136815 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #1 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0.766421 2: 0.5 0 0.434914 3: 1 0 0.107558 4: 0 0.5 0.481806 5: 0.5 0.5 0.325762 6: 1 0.5 0.161026 7: 0 1 0.270337 8: 0.5 1 0.145979 9: 1 1 0.0358696 X, Y, Z interpolation: 1: 0 0 0.766421 2: 0.5 0 0.434914 3: 1 0 0.107558 4: 0 0.5 0.481806 5: 0.5 0.5 0.325762 6: 1 0.5 0.161026 7: 0 1 0.270337 8: 0.5 1 0.145979 9: 1 1 0.0358696 RMS data interpolation error = 0 RMS data approximation error = 0.200111 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #1 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0.766421 2: 0.333333 0 0.705421 3: 0.666667 0 0.295749 4: 1 0 0.107558 5: 0 0.333333 0.707465 6: 0.333333 0.333333 0.826744 7: 0.666667 0.333333 0.585046 8: 1 0.333333 0.24926 9: 0 0.666667 0.369969 10: 0.333333 0.666667 0.253282 11: 0.666667 0.666667 0.176959 12: 1 0.666667 0.0677754 13: 0 1 0.270337 14: 0.333333 1 0.197704 15: 0.666667 1 0.101482 16: 1 1 0.0358696 X, Y, Z interpolation: 1: 0 0 0.766421 2: 0.333333 0 0.705421 3: 0.666667 0 0.295749 4: 1 0 0.107558 5: 0 0.333333 0.707465 6: 0.333333 0.333333 0.826744 7: 0.666667 0.333333 0.585046 8: 1 0.333333 0.24926 9: 0 0.666667 0.369969 10: 0.333333 0.666667 0.253282 11: 0.666667 0.666667 0.176959 12: 1 0.666667 0.0677754 13: 0 1 0.270337 14: 0.333333 1 0.197704 15: 0.666667 1 0.101482 16: 1 1 0.0358696 RMS data interpolation error = 0 RMS data approximation error = 0.0589109 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #1 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.0216356 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #1 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.00398124 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #2 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0.111111 2: 1 0 3.38444e-09 3: 0 1 0.222222 4: 1 1 0.111111 X, Y, Z interpolation: 1: 0 0 0.111111 2: 1 0 3.38444e-09 3: 0 1 0.222222 4: 1 1 0.111111 RMS data interpolation error = 0 RMS data approximation error = 1.38778e-17 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #2 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0.111111 2: 0.5 0 2.7421e-05 3: 1 0 3.38444e-09 4: 0 0.5 0.222195 5: 0.5 0.5 0.111111 6: 1 0.5 2.7421e-05 7: 0 1 0.222222 8: 0.5 1 0.222195 9: 1 1 0.111111 X, Y, Z interpolation: 1: 0 0 0.111111 2: 0.5 0 2.7421e-05 3: 1 0 3.38444e-09 4: 0 0.5 0.222195 5: 0.5 0.5 0.111111 6: 1 0.5 2.7421e-05 7: 0 1 0.222222 8: 0.5 1 0.222195 9: 1 1 0.111111 RMS data interpolation error = 0 RMS data approximation error = 0.0196322 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #2 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0.111111 2: 0.333333 0 0.000549472 3: 0.666667 0 1.36537e-06 4: 1 0 3.38444e-09 5: 0 0.333333 0.221673 6: 0.333333 0.333333 0.111111 7: 0.666667 0.333333 0.000549472 8: 1 0.333333 1.36537e-06 9: 0 0.666667 0.222221 10: 0.333333 0.666667 0.221673 11: 0.666667 0.666667 0.111111 12: 1 0.666667 0.000549472 13: 0 1 0.222222 14: 0.333333 1 0.222221 15: 0.666667 1 0.221673 16: 1 1 0.111111 X, Y, Z interpolation: 1: 0 0 0.111111 2: 0.333333 0 0.000549472 3: 0.666667 0 1.36537e-06 4: 1 0 3.38444e-09 5: 0 0.333333 0.221673 6: 0.333333 0.333333 0.111111 7: 0.666667 0.333333 0.000549472 8: 1 0.333333 1.36537e-06 9: 0 0.666667 0.222221 10: 0.333333 0.666667 0.221673 11: 0.666667 0.666667 0.111111 12: 1 0.666667 0.000549472 13: 0 1 0.222222 14: 0.333333 1 0.222221 15: 0.666667 1 0.221673 16: 1 1 0.111111 RMS data interpolation error = 0 RMS data approximation error = 0.0122238 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #2 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.00813486 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #2 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.00212887 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #3 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0.1875 2: 1 0 0.075 3: 0 1 0.157058 4: 1 1 0.0628231 X, Y, Z interpolation: 1: 0 0 0.1875 2: 1 0 0.075 3: 0 1 0.157058 4: 1 1 0.0628231 RMS data interpolation error = 0 RMS data approximation error = 0.0699052 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #3 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0.1875 2: 0.5 0 0.3 3: 1 0 0.075 4: 0 0.5 0.0288273 5: 0.5 0.5 0.0461237 6: 1 0.5 0.0115309 7: 0 1 0.157058 8: 0.5 1 0.251292 9: 1 1 0.0628231 X, Y, Z interpolation: 1: 0 0 0.1875 2: 0.5 0 0.3 3: 1 0 0.075 4: 0 0.5 0.0288273 5: 0.5 0.5 0.0461237 6: 1 0.5 0.0115309 7: 0 1 0.157058 8: 0.5 1 0.251292 9: 1 1 0.0628231 RMS data interpolation error = 0 RMS data approximation error = 0.0292684 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #3 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0.1875 2: 0.333333 0 0.375 3: 0.666667 0 0.1875 4: 1 0 0.075 5: 0 0.333333 0.0852332 6: 0.333333 0.333333 0.170466 7: 0.666667 0.333333 0.0852332 8: 1 0.333333 0.0340933 9: 0 0.666667 0.0294368 10: 0.333333 0.666667 0.0588736 11: 0.666667 0.666667 0.0294368 12: 1 0.666667 0.0117747 13: 0 1 0.157058 14: 0.333333 1 0.314115 15: 0.666667 1 0.157058 16: 1 1 0.0628231 X, Y, Z interpolation: 1: 0 0 0.1875 2: 0.333333 0 0.375 3: 0.666667 0 0.1875 4: 1 0 0.075 5: 0 0.333333 0.0852332 6: 0.333333 0.333333 0.170466 7: 0.666667 0.333333 0.0852332 8: 1 0.333333 0.0340933 9: 0 0.666667 0.0294368 10: 0.333333 0.666667 0.0588736 11: 0.666667 0.666667 0.0294368 12: 1 0.666667 0.0117747 13: 0 1 0.157058 14: 0.333333 1 0.314115 15: 0.666667 1 0.157058 16: 1 1 0.0628231 RMS data interpolation error = 0 RMS data approximation error = 0.0123644 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #3 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.00629711 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #3 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.000838877 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #4 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0.0265198 2: 1 0 0.0265198 3: 0 1 0.0265198 4: 1 1 0.0265198 X, Y, Z interpolation: 1: 0 0 0.0265198 2: 1 0 0.0265198 3: 0 1 0.0265198 4: 1 1 0.0265198 RMS data interpolation error = 0 RMS data approximation error = 0.306813 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #4 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0.0265198 2: 0.5 0 0.094021 3: 1 0 0.0265198 4: 0 0.5 0.094021 5: 0.5 0.5 0.333333 6: 1 0.5 0.094021 7: 0 1 0.0265198 8: 0.5 1 0.094021 9: 1 1 0.0265198 X, Y, Z interpolation: 1: 0 0 0.0265198 2: 0.5 0 0.094021 3: 1 0 0.0265198 4: 0 0.5 0.094021 5: 0.5 0.5 0.333333 6: 1 0.5 0.094021 7: 0 1 0.0265198 8: 0.5 1 0.094021 9: 1 1 0.0265198 RMS data interpolation error = 0 RMS data approximation error = 0.0293667 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #4 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0.0265198 2: 0.333333 0 0.0816868 3: 0.666667 0 0.0816868 4: 1 0 0.0265198 5: 0 0.333333 0.0816868 6: 0.333333 0.333333 0.251613 7: 0.666667 0.333333 0.251613 8: 1 0.333333 0.0816868 9: 0 0.666667 0.0816868 10: 0.333333 0.666667 0.251613 11: 0.666667 0.666667 0.251613 12: 1 0.666667 0.0816868 13: 0 1 0.0265198 14: 0.333333 1 0.0816868 15: 0.666667 1 0.0816868 16: 1 1 0.0265198 X, Y, Z interpolation: 1: 0 0 0.0265198 2: 0.333333 0 0.0816868 3: 0.666667 0 0.0816868 4: 1 0 0.0265198 5: 0 0.333333 0.0816868 6: 0.333333 0.333333 0.251613 7: 0.666667 0.333333 0.251613 8: 1 0.333333 0.0816868 9: 0 0.666667 0.0816868 10: 0.333333 0.666667 0.251613 11: 0.666667 0.666667 0.251613 12: 1 0.666667 0.0816868 13: 0 1 0.0265198 14: 0.333333 1 0.0816868 15: 0.666667 1 0.0816868 16: 1 1 0.0265198 RMS data interpolation error = 0 RMS data approximation error = 0.0122508 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #4 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.00539557 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #4 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.000708519 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #5 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 1.33551e-05 2: 1 0 1.33551e-05 3: 0 1 1.33551e-05 4: 1 1 1.33551e-05 X, Y, Z interpolation: 1: 0 0 1.33551e-05 2: 1 0 1.33551e-05 3: 0 1 1.33551e-05 4: 1 1 1.33551e-05 RMS data interpolation error = 0 RMS data approximation error = 0.33332 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #5 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 1.33551e-05 2: 0.5 0 0.00210991 3: 1 0 1.33551e-05 4: 0 0.5 0.00210991 5: 0.5 0.5 0.333333 6: 1 0.5 0.00210991 7: 0 1 1.33551e-05 8: 0.5 1 0.00210991 9: 1 1 1.33551e-05 X, Y, Z interpolation: 1: 0 0 1.33551e-05 2: 0.5 0 0.00210991 3: 1 0 1.33551e-05 4: 0 0.5 0.00210991 5: 0.5 0.5 0.333333 6: 1 0.5 0.00210991 7: 0 1 1.33551e-05 8: 0.5 1 0.00210991 9: 1 1 1.33551e-05 RMS data interpolation error = 0 RMS data approximation error = 0.0502977 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #5 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 1.33551e-05 2: 0.333333 0 0.00120219 3: 0.666667 0 0.00120219 4: 1 0 1.33551e-05 5: 0 0.333333 0.00120219 6: 0.333333 0.333333 0.108217 7: 0.666667 0.333333 0.108217 8: 1 0.333333 0.00120219 9: 0 0.666667 0.00120219 10: 0.333333 0.666667 0.108217 11: 0.666667 0.666667 0.108217 12: 1 0.666667 0.00120219 13: 0 1 1.33551e-05 14: 0.333333 1 0.00120219 15: 0.666667 1 0.00120219 16: 1 1 1.33551e-05 X, Y, Z interpolation: 1: 0 0 1.33551e-05 2: 0.333333 0 0.00120219 3: 0.666667 0 0.00120219 4: 1 0 1.33551e-05 5: 0 0.333333 0.00120219 6: 0.333333 0.333333 0.108217 7: 0.666667 0.333333 0.108217 8: 1 0.333333 0.00120219 9: 0 0.666667 0.00120219 10: 0.333333 0.666667 0.108217 11: 0.666667 0.666667 0.108217 12: 1 0.666667 0.00120219 13: 0 1 1.33551e-05 14: 0.333333 1 0.00120219 15: 0.666667 1 0.00120219 16: 1 1 1.33551e-05 RMS data interpolation error = 0 RMS data approximation error = 0.0265984 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #5 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.00850308 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #5 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.0014899 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #6 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0.0386311 2: 1 0 0.0386311 3: 0 1 0.0386311 4: 1 1 0.0386311 X, Y, Z interpolation: 1: 0 0 0.0386311 2: 1 0 0.0386311 3: 0 1 0.0386311 4: 1 1 0.0386311 RMS data interpolation error = 0 RMS data approximation error = 0.350258 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #6 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0.0386311 2: 0.5 0 0.234931 3: 1 0 0.0386311 4: 0 0.5 0.234931 5: 0.5 0.5 0.388889 6: 1 0.5 0.234931 7: 0 1 0.0386311 8: 0.5 1 0.234931 9: 1 1 0.0386311 X, Y, Z interpolation: 1: 0 0 0.0386311 2: 0.5 0 0.234931 3: 1 0 0.0386311 4: 0 0.5 0.234931 5: 0.5 0.5 0.388889 6: 1 0.5 0.234931 7: 0 1 0.0386311 8: 0.5 1 0.234931 9: 1 1 0.0386311 RMS data interpolation error = 0 RMS data approximation error = 0.0459089 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #6 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0.0386311 2: 0.333333 0 0.215783 3: 0.666667 0 0.215783 4: 1 0 0.0386311 5: 0 0.333333 0.215783 6: 0.333333 0.333333 0.357069 7: 0.666667 0.333333 0.357069 8: 1 0.333333 0.215783 9: 0 0.666667 0.215783 10: 0.333333 0.666667 0.357069 11: 0.666667 0.666667 0.357069 12: 1 0.666667 0.215783 13: 0 1 0.0386311 14: 0.333333 1 0.215783 15: 0.666667 1 0.215783 16: 1 1 0.0386311 X, Y, Z interpolation: 1: 0 0 0.0386311 2: 0.333333 0 0.215783 3: 0.666667 0 0.215783 4: 1 0 0.0386311 5: 0 0.333333 0.215783 6: 0.333333 0.333333 0.357069 7: 0.666667 0.333333 0.357069 8: 1 0.333333 0.215783 9: 0 0.666667 0.215783 10: 0.333333 0.666667 0.357069 11: 0.666667 0.666667 0.357069 12: 1 0.666667 0.215783 13: 0 1 0.0386311 14: 0.333333 1 0.215783 15: 0.666667 1 0.215783 16: 1 1 0.0386311 RMS data interpolation error = 0 RMS data approximation error = 0.0139397 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #6 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.00595153 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #6 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.000755043 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #7 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0 2: 1 0 0 3: 0 1 -1.08804 4: 1 1 0.368924 X, Y, Z interpolation: 1: 0 0 0 2: 1 0 0 3: 0 1 -1.08804 4: 1 1 0.368924 RMS data interpolation error = 0 RMS data approximation error = 0.598472 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #7 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0 2: 0.5 0 0 3: 1 0 0 4: 0 0.5 -1.91785 5: 0.5 0.5 0.054451 6: 1 0.5 0.650288 7: 0 1 -1.08804 8: 0.5 1 -1.26756 9: 1 1 0.368924 X, Y, Z interpolation: 1: 0 0 0 2: 0.5 0 0 3: 1 0 0 4: 0 0.5 -1.91785 5: 0.5 0.5 0.054451 6: 1 0.5 0.650288 7: 0 1 -1.08804 8: 0.5 1 -1.26756 9: 1 1 0.368924 RMS data interpolation error = 0 RMS data approximation error = 0.376188 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #7 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0 2: 0.333333 0 0 3: 0.666667 0 0 4: 1 0 0 5: 0 0.333333 -0.381136 6: 0.333333 0.333333 1.27034 7: 0.666667 0.333333 0.441767 8: 1 0.333333 0.129232 9: 0 0.666667 0.748302 10: 0.333333 0.666667 0.060631 11: 0.666667 0.666667 -0.270366 12: 1 0.666667 -0.253728 13: 0 1 -1.08804 14: 0.333333 1 0.877535 15: 0.666667 1 -0.634864 16: 1 1 0.368924 X, Y, Z interpolation: 1: 0 0 0 2: 0.333333 0 0 3: 0.666667 0 0 4: 1 0 0 5: 0 0.333333 -0.381136 6: 0.333333 0.333333 1.27034 7: 0.666667 0.333333 0.441767 8: 1 0.333333 0.129232 9: 0 0.666667 0.748302 10: 0.333333 0.666667 0.060631 11: 0.666667 0.666667 -0.270366 12: 1 0.666667 -0.253728 13: 0 1 -1.08804 14: 0.333333 1 0.877535 15: 0.666667 1 -0.634864 16: 1 1 0.368924 RMS data interpolation error = 0 RMS data approximation error = 0.187656 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #7 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.313809 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #7 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.0606468 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #8 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 6.52165e-06 2: 1 0 6.52165e-06 3: 0 1 6.52165e-06 4: 1 1 6.52165e-06 X, Y, Z interpolation: 1: 0 0 6.52165e-06 2: 1 0 6.52165e-06 3: 0 1 6.52165e-06 4: 1 1 6.52165e-06 RMS data interpolation error = 0 RMS data approximation error = 2.49999 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #8 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 6.52165e-06 2: 0.5 0 1.00001 3: 1 0 6.52165e-06 4: 0 0.5 0.750007 5: 0.5 0.5 2.5 6: 1 0.5 0.750007 7: 0 1 6.52165e-06 8: 0.5 1 1.00001 9: 1 1 6.52165e-06 X, Y, Z interpolation: 1: 0 0 6.52165e-06 2: 0.5 0 1.00001 3: 1 0 6.52165e-06 4: 0 0.5 0.750007 5: 0.5 0.5 2.5 6: 1 0.5 0.750007 7: 0 1 6.52165e-06 8: 0.5 1 1.00001 9: 1 1 6.52165e-06 RMS data interpolation error = 0 RMS data approximation error = 0.500934 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #8 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 6.52165e-06 2: 0.333333 0 0.249356 3: 0.666667 0 0.249356 4: 1 0 6.52165e-06 5: 0 0.333333 0.187019 6: 0.333333 0.333333 0.482999 7: 0.666667 0.333333 0.482999 8: 1 0.333333 0.187019 9: 0 0.666667 0.187019 10: 0.333333 0.666667 0.482999 11: 0.666667 0.666667 0.482999 12: 1 0.666667 0.187019 13: 0 1 6.52165e-06 14: 0.333333 1 0.249356 15: 0.666667 1 0.249356 16: 1 1 6.52165e-06 X, Y, Z interpolation: 1: 0 0 6.52165e-06 2: 0.333333 0 0.249356 3: 0.666667 0 0.249356 4: 1 0 6.52165e-06 5: 0 0.333333 0.187019 6: 0.333333 0.333333 0.482999 7: 0.666667 0.333333 0.482999 8: 1 0.333333 0.187019 9: 0 0.666667 0.187019 10: 0.333333 0.666667 0.482999 11: 0.666667 0.666667 0.482999 12: 1 0.666667 0.187019 13: 0 1 6.52165e-06 14: 0.333333 1 0.249356 15: 0.666667 1 0.249356 16: 1 1 6.52165e-06 RMS data interpolation error = 0 RMS data approximation error = 0.259198 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #8 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.0330896 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #8 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.0123725 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #9 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0.0996532 2: 1 0 -0.189352 3: 0 1 -0.189352 4: 1 1 0.359788 X, Y, Z interpolation: 1: 0 0 0.0996532 2: 1 0 -0.189352 3: 0 1 -0.189352 4: 1 1 0.359788 RMS data interpolation error = 0 RMS data approximation error = 0.189352 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #9 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0.0996532 2: 0.5 0 0 3: 1 0 -0.189352 4: 0 0.5 0 5: 0.5 0.5 0 6: 1 0.5 -0 7: 0 1 -0.189352 8: 0.5 1 -0 9: 1 1 0.359788 X, Y, Z interpolation: 1: 0 0 0.0996532 2: 0.5 0 0 3: 1 0 -0.189352 4: 0 0.5 0 5: 0.5 0.5 0 6: 1 0.5 0 7: 0 1 -0.189352 8: 0.5 1 0 9: 1 1 0.359788 RMS data interpolation error = 0 RMS data approximation error = 15.3964 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #9 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0.0996532 2: 0.333333 0 2.04469 3: 0.666667 0 -2.87176 4: 1 0 -0.189352 5: 0 0.333333 2.04469 6: 0.333333 0.333333 41.9532 7: 0.666667 0.333333 -58.923 8: 1 0.333333 -3.88513 9: 0 0.666667 -2.87176 10: 0.333333 0.666667 -58.923 11: 0.666667 0.666667 82.7569 12: 1 0.666667 5.45664 13: 0 1 -0.189352 14: 0.333333 1 -3.88513 15: 0.666667 1 5.45664 16: 1 1 0.359788 X, Y, Z interpolation: 1: 0 0 0.0996532 2: 0.333333 0 2.04469 3: 0.666667 0 -2.87176 4: 1 0 -0.189352 5: 0 0.333333 2.04469 6: 0.333333 0.333333 41.9532 7: 0.666667 0.333333 -58.923 8: 1 0.333333 -3.88513 9: 0 0.666667 -2.87176 10: 0.333333 0.666667 -58.923 11: 0.666667 0.666667 82.7569 12: 1 0.666667 5.45664 13: 0 1 -0.189352 14: 0.333333 1 -3.88513 15: 0.666667 1 5.45664 16: 1 1 0.359788 RMS data interpolation error = 0 RMS data approximation error = 10.1837 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #9 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 7.22707 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #9 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 1.03289 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #10 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 -0.0830877 2: 1 0 -0.0830877 3: 0 1 -0.0830877 4: 1 1 -0.0830877 X, Y, Z interpolation: 1: 0 0 -0.0830877 2: 1 0 -0.0830877 3: 0 1 -0.0830877 4: 1 1 -0.0830877 RMS data interpolation error = 0 RMS data approximation error = 1.08309 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #10 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 -0.0830877 2: 0.5 0 0.147613 3: 1 0 -0.0830877 4: 0 0.5 0.193855 5: 0.5 0.5 1 6: 1 0.5 0.193855 7: 0 1 -0.0830877 8: 0.5 1 0.147613 9: 1 1 -0.0830877 X, Y, Z interpolation: 1: 0 0 -0.0830877 2: 0.5 0 0.147613 3: 1 0 -0.0830877 4: 0 0.5 0.193855 5: 0.5 0.5 1 6: 1 0.5 0.193855 7: 0 1 -0.0830877 8: 0.5 1 0.147613 9: 1 1 -0.0830877 RMS data interpolation error = 0 RMS data approximation error = 0.200003 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #10 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 -0.0830877 2: 0.333333 0 0.111225 3: 0.666667 0 0.111225 4: 1 0 -0.0830877 5: 0 0.333333 0.179674 6: 0.333333 0.333333 -0.444234 7: 0.666667 0.333333 -0.444234 8: 1 0.333333 0.179674 9: 0 0.666667 0.179674 10: 0.333333 0.666667 -0.444234 11: 0.666667 0.666667 -0.444234 12: 1 0.666667 0.179674 13: 0 1 -0.0830877 14: 0.333333 1 0.111225 15: 0.666667 1 0.111225 16: 1 1 -0.0830877 X, Y, Z interpolation: 1: 0 0 -0.0830877 2: 0.333333 0 0.111225 3: 0.666667 0 0.111225 4: 1 0 -0.0830877 5: 0 0.333333 0.179674 6: 0.333333 0.333333 -0.444234 7: 0.666667 0.333333 -0.444234 8: 1 0.333333 0.179674 9: 0 0.666667 0.179674 10: 0.333333 0.666667 -0.444234 11: 0.666667 0.666667 -0.444234 12: 1 0.666667 0.179674 13: 0 1 -0.0830877 14: 0.333333 1 0.111225 15: 0.666667 1 0.111225 16: 1 1 -0.0830877 RMS data interpolation error = 0 RMS data approximation error = 0.177348 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #10 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.0817147 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #10 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.0128289 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #11 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0 2: 1 0 1 3: 0 1 0 4: 1 1 2 X, Y, Z interpolation: 1: 0 0 0 2: 1 0 1 3: 0 1 0 4: 1 1 2 RMS data interpolation error = 0 RMS data approximation error = 0.25 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #11 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0 2: 0.5 0 0.5 3: 1 0 1 4: 0 0.5 0 5: 0.5 0.5 0.75 6: 1 0.5 1.5 7: 0 1 0 8: 0.5 1 1 9: 1 1 2 X, Y, Z interpolation: 1: 0 0 0 2: 0.5 0 0.5 3: 1 0 1 4: 0 0.5 0 5: 0.5 0.5 0.75 6: 1 0.5 1.5 7: 0 1 0 8: 0.5 1 1 9: 1 1 2 RMS data interpolation error = 0 RMS data approximation error = 0.03125 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #11 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0 2: 0.333333 0 0.333333 3: 0.666667 0 0.666667 4: 1 0 1 5: 0 0.333333 0 6: 0.333333 0.333333 0.444444 7: 0.666667 0.333333 0.888889 8: 1 0.333333 1.33333 9: 0 0.666667 0 10: 0.333333 0.666667 0.555556 11: 0.666667 0.666667 1.11111 12: 1 0.666667 1.66667 13: 0 1 0 14: 0.333333 1 0.666667 15: 0.666667 1 1.33333 16: 1 1 2 X, Y, Z interpolation: 1: 0 0 0 2: 0.333333 0 0.333333 3: 0.666667 0 0.666667 4: 1 0 1 5: 0 0.333333 0 6: 0.333333 0.333333 0.444444 7: 0.666667 0.333333 0.888889 8: 1 0.333333 1.33333 9: 0 0.666667 0 10: 0.333333 0.666667 0.555556 11: 0.666667 0.666667 1.11111 12: 1 0.666667 1.66667 13: 0 1 0 14: 0.333333 1 0.666667 15: 0.666667 1 1.33333 16: 1 1 2 RMS data interpolation error = 0 RMS data approximation error = 0.00925926 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #11 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.00390625 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #11 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.000488281 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #12 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0 2: 1 0 0 3: 0 1 0.688241 4: 1 1 1.87271 X, Y, Z interpolation: 1: 0 0 0 2: 1 0 0 3: 0 1 0.688241 4: 1 1 1.87271 RMS data interpolation error = 0 RMS data approximation error = 0.116255 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #12 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0 2: 0.5 0 0 3: 1 0 0 4: 0 0.5 0.748896 5: 0.5 0.5 0.460375 6: 1 0.5 0.666271 7: 0 1 0.688241 8: 0.5 1 1.16513 9: 1 1 1.87271 X, Y, Z interpolation: 1: 0 0 0 2: 0.5 0 0 3: 1 0 0 4: 0 0.5 0.748896 5: 0.5 0.5 0.460375 6: 1 0.5 0.666271 7: 0 1 0.688241 8: 0.5 1 1.16513 9: 1 1 1.87271 RMS data interpolation error = 0 RMS data approximation error = 0.108418 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #12 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0 2: 0.333333 0 0 3: 0.666667 0 0 4: 1 0 0 5: 0 0.333333 0.814257 6: 0.333333 0.333333 0.74544 7: 0.666667 0.333333 0.286978 8: 1 0.333333 0.382482 9: 0 0.666667 0.525181 10: 0.333333 0.666667 0.501849 11: 0.666667 0.666667 0.538925 12: 1 0.666667 1.04327 13: 0 1 0.688241 14: 0.333333 1 0.940324 15: 0.666667 1 1.44307 16: 1 1 1.87271 X, Y, Z interpolation: 1: 0 0 0 2: 0.333333 0 0 3: 0.666667 0 0 4: 1 0 0 5: 0 0.333333 0.814257 6: 0.333333 0.333333 0.74544 7: 0.666667 0.333333 0.286978 8: 1 0.333333 0.382482 9: 0 0.666667 0.525181 10: 0.333333 0.666667 0.501849 11: 0.666667 0.666667 0.538925 12: 1 0.666667 1.04327 13: 0 1 0.688241 14: 0.333333 1 0.940324 15: 0.666667 1 1.44307 16: 1 1 1.87271 RMS data interpolation error = 0 RMS data approximation error = 0.0381489 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #12 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.01764 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #12 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.00251502 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #13 Using polynomial interpolant of product degree 2 x 2 Number of data points = 4 X, Y, Z data: 1: 0 0 0.0196078 2: 1 0 0.0196078 3: 0 1 0.0196078 4: 1 1 0.0196078 X, Y, Z interpolation: 1: 0 0 0.0196078 2: 1 0 0.0196078 3: 0 1 0.0196078 4: 1 1 0.0196078 RMS data interpolation error = 0 RMS data approximation error = 0.980392 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #13 Using polynomial interpolant of product degree 3 x 3 Number of data points = 9 X, Y, Z data: 1: 0 0 0.0196078 2: 0.5 0 0.0384615 3: 1 0 0.0196078 4: 0 0.5 0.0384615 5: 0.5 0.5 1 6: 1 0.5 0.0384615 7: 0 1 0.0196078 8: 0.5 1 0.0384615 9: 1 1 0.0196078 X, Y, Z interpolation: 1: 0 0 0.0196078 2: 0.5 0 0.0384615 3: 1 0 0.0196078 4: 0 0.5 0.0384615 5: 0.5 0.5 1 6: 1 0.5 0.0384615 7: 0 1 0.0196078 8: 0.5 1 0.0384615 9: 1 1 0.0196078 RMS data interpolation error = 0 RMS data approximation error = 0.154567 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #13 Using polynomial interpolant of product degree 4 x 4 Number of data points = 16 X, Y, Z data: 1: 0 0 0.0196078 2: 0.333333 0 0.034749 3: 0.666667 0 0.034749 4: 1 0 0.0196078 5: 0 0.333333 0.034749 6: 0.333333 0.333333 0.152542 7: 0.666667 0.333333 0.152542 8: 1 0.333333 0.034749 9: 0 0.666667 0.034749 10: 0.333333 0.666667 0.152542 11: 0.666667 0.666667 0.152542 12: 1 0.666667 0.034749 13: 0 1 0.0196078 14: 0.333333 1 0.034749 15: 0.666667 1 0.034749 16: 1 1 0.0196078 X, Y, Z interpolation: 1: 0 0 0.0196078 2: 0.333333 0 0.034749 3: 0.666667 0 0.034749 4: 1 0 0.0196078 5: 0 0.333333 0.034749 6: 0.333333 0.333333 0.152542 7: 0.666667 0.333333 0.152542 8: 1 0.333333 0.034749 9: 0 0.666667 0.034749 10: 0.333333 0.666667 0.152542 11: 0.666667 0.666667 0.152542 12: 1 0.666667 0.034749 13: 0 1 0.0196078 14: 0.333333 1 0.034749 15: 0.666667 1 0.034749 16: 1 1 0.0196078 RMS data interpolation error = 0 RMS data approximation error = 0.0944453 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #13 Using polynomial interpolant of product degree 5 x 5 Number of data points = 25 RMS data interpolation error = 0 RMS data approximation error = 0.0278242 PWL_INTERP_2D_TEST01: Interpolate data from TEST_INTERP_2D problem #13 Using polynomial interpolant of product degree 9 x 9 Number of data points = 81 RMS data interpolation error = 0 RMS data approximation error = 0.00439773 pwl_interp_2d_test(): Normal end of execution. 28-Jul-2021 22:38:58