Execution Time0.67s

Test: mathmore-testInterpolation (Passed)
Build: master-x86_64-fedora28-gcc8 (sft-fedora-28-1.cern.ch) on 2019-11-14 01:14:20

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Info in <TCanvas::MakeDefCanvas>:  created default TCanvas with name c1

linear  interpolation:
x[i]     y[i]     deriv[i]     deriv2[i]    integral[i] 

0  1  0.380298  0  0
0.2  1.07606  0.380298  0  0.207606
0.4  1.15212  0.380298  0  0.430424
0.6  1.22818  0.380298  0  0.668454
0.8  1.30424  0.380298  0  0.921695
1  1.3803  0.380298  0  1.19015
1.2  1.45636  0.380298  0  1.47381
1.4  1.53242  0.380298  0  1.77269
1.6  1.50668  -0.187584  0  2.07766
1.8  1.46916  -0.187584  0  2.37524
2  1.43164  -0.187584  0  2.66532
2.2  1.39412  -0.187584  0  2.9479
2.4  1.35661  -0.187584  0  3.22297
2.6  1.52158  1.20555  0  3.50526
2.8  1.7627  1.20555  0  3.83368
3  2.00381  1.20555  0  4.21033
3.2  2.31284  1.73032  0  4.6396
3.4  2.6589  1.73032  0  5.13678
3.6  3.00497  1.73032  0  5.70316
3.8  3.62756  3.28038  0  6.36343
4  4.28364  3.28038  0  7.15455
4.2  4.93972  3.28038  0  8.07689
4.4  5.59579  3.28038  0  9.13044
4.6  5.98414  -0.0889465  0  10.3046
4.8  5.96635  -0.0889465  0  11.4996
5  5.94856  -0.0889465  0  12.6911
5.2  5.93077  -0.0889465  0  13.879
5.4  5.91298  -0.0889465  0  15.0634
5.6  5.89519  -0.0889465  0  16.2442
5.8  5.8774  -0.0889465  0  17.4215
6  6.00797  0.972998  0  18.6056
6.2  6.20257  0.972998  0  19.8266
6.4  6.39717  0.972998  0  21.0866
6.6  6.59177  0.972998  0  22.3855
6.8  6.78637  0.972998  0  23.7233
7  6.98097  0.972998  0  25.1
7.2  7.17557  0.972998  0  26.5157
7.4  7.36751  0.935755  0  27.9702
7.6  7.55466  0.935755  0  29.4624
7.8  7.74181  0.935755  0  30.992
8  7.92896  0.935755  0  32.5591
8.2  8.11611  0.935755  0  34.1636
8.4  8.30326  0.935755  0  35.8055
8.6  8.59688  1.94668  0  37.4905
8.8  8.98622  1.94668  0  39.2488
9  9.37556  1.94668  0  41.085
9.2  9.76489  1.94668  0  42.999
9.4  10.1801  2.08003  0  44.9935
9.6  10.5961  2.08003  0  47.0711
Warning in <ROOT::Math::GSLInterpolator::Eval>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv2>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Integ>: input domain error
9.8  nan  nan  nan  nan

polynomial  interpolation:
x[i]     y[i]     deriv[i]     deriv2[i]    integral[i] 

0  1  141.835  -656.682  0
0.2  18.5229  43.647  -348.287  2.27804
0.4  21.7257  -5.26257  -157.004  6.46485
0.6  18.3803  -24.5258  -46.5899  10.5389
0.8  12.9938  -27.4577  10.1952  13.6856
1  7.90385  -22.6784  33.3276  15.7592
1.2  4.08293  -15.4135  37.0077  16.9335
1.4  1.71035  -8.51836  30.9286  17.4898
1.6  0.563652  -3.27014  21.3436  17.6997
1.8  0.27165  0.036099  11.9535  17.7722
2  0.46489  1.65197  4.63315  17.8405
2.2  0.852596  2.07129  0.0160885  17.9709
2.4  1.24953  1.82969  -2.0457  18.1819
2.6  1.57126  1.38519  -2.13018  18.4655
2.8  1.81187  1.05945  -0.986618  18.8049
3  2.01462  1.02276  0.644609  19.1877
3.2  2.24269  1.30828  2.14703  19.6125
3.4  2.55475  1.84382  3.09022  20.0904
3.6  2.98777  2.49174  3.2505  20.6425
3.8  3.54808  3.08961  2.60015  21.2941
4  4.21012  3.48654  1.27482  22.0686
4.2  4.92175  3.57123  -0.473075  22.9815
4.4  5.61409  3.29018  -2.32755  24.036
4.6  6.21406  2.65492  -3.96268  25.2209
4.8  6.65723  1.73903  -5.09166  26.5111
5  6.89914  0.666077  -5.50705  27.8703
5.2  6.92349  -0.409297  -5.10922  29.2562
5.4  6.74612  -1.32463  -3.92084  30.6262
5.6  6.4141  -1.93433  -2.08654  31.9443
5.8  5.99994  -2.13276  0.142441  33.1863
6  5.59171  -1.87287  2.43749  34.3446
6.2  5.27998  -1.17772  4.43369  35.4295
6.4  5.14341  -0.14289  5.77966  36.4684
6.6  5.2349  1.07164  6.19213  37.5021
6.8  5.5704  2.26061  5.50998  38.5787
7  6.12265  3.20277  3.74179  39.7448
7.2  6.82161  3.69856  1.09944  41.0376
7.4  7.56303  3.61229  -1.99009  42.4764
7.6  8.22541  2.91389  -4.90434  44.0575
7.8  8.69471  1.71265  -6.88628  45.7536
8  8.89429  0.273712  -7.15821  47.5173
8.2  8.81537  -0.994432  -5.10054  49.2925
8.4  8.541  -1.59591  -0.509091  51.0302
8.6  8.25305  -1.06389  6.05477  52.7078
8.8  8.20821  0.842461  12.8059  54.3476
9  8.66467  3.83711  16.1527  56.0248
9.2  9.73605  6.67591  9.97182  57.8553
9.4  11.1435  6.56456  -15.2768  59.9433
9.6  11.8305  -1.62812  -73.6157  62.2676
Warning in <ROOT::Math::GSLInterpolator::Eval>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv2>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Integ>: input domain error
9.8  nan  nan  nan  nan

cspline  interpolation:
x[i]     y[i]     deriv[i]     deriv2[i]    integral[i] 

0  1  0.698808  0  0
0.2  1.1385  0.679873  -0.189356  0.213913
0.4  1.26942  0.623066  -0.378712  0.454895
0.6  1.3852  0.528388  -0.568068  0.720673
0.8  1.47825  0.395839  -0.757424  1.00746
1  1.54101  0.225419  -0.94678  1.30996
1.2  1.5659  0.0171271  -1.13614  1.62134
1.4  1.54534  -0.229036  -1.32549  1.93328
1.6  1.47679  -0.428908  -0.575886  2.23617
1.8  1.38521  -0.458264  0.28233  2.52246
2  1.30492  -0.315976  1.14054  2.791
2.2  1.27026  -0.00204597  1.99876  3.04748
2.4  1.31555  0.483528  2.85698  3.30444
2.6  1.46974  1.02983  2.18901  3.58112
2.8  1.71121  1.34345  0.947246  3.89817
3  1.99057  1.40873  -0.294522  4.26813
3.2  2.26438  1.37031  0.698886  4.69381
3.4  2.56717  1.73127  2.91073  5.17576
3.6  2.98638  2.5346  5.12257  5.72844
3.8  3.58755  3.39431  3.00728  6.38295
4  4.30896  3.73185  0.368116  7.17148
4.2  5.0451  3.54156  -2.27105  8.10752
4.4  5.6904  2.82343  -4.91022  9.18346
4.6  6.14098  1.64161  -5.93502  10.3706
4.8  6.3601  0.597016  -4.51095  11.6242
5  6.39878  -0.162767  -3.08688  12.9026
5.2  6.31398  -0.637737  -1.66281  14.1755
5.4  6.16267  -0.827892  -0.238745  15.4238
5.6  6.00181  -0.733235  1.18532  16.6399
5.8  5.88836  -0.353763  2.60939  17.8277
6  5.8747  0.211854  2.62097  19.0021
6.2  5.9655  0.676247  2.02297  20.1845
6.4  6.13722  1.02104  1.42497  21.3937
6.6  6.36594  1.24623  0.82697  22.6432
6.8  6.62774  1.35183  0.228971  23.9422
7  6.8987  1.33782  -0.369028  25.2949
7.2  7.1549  1.20422  -0.967027  26.7007
7.4  7.37278  0.966196  -1.14037  28.1543
7.6  7.54714  0.797095  -0.550632  29.6469
7.8  7.69948  0.745943  0.0391061  31.1717
8  7.85338  0.812738  0.628844  32.7268
8.2  8.03244  0.99748  1.21858  34.3147
8.4  8.26024  1.30017  1.80832  35.943
8.6  8.55915  1.68601  1.73733  37.6236
8.8  8.92666  1.96699  1.07239  39.3713
9  9.33708  2.11497  0.407438  41.1971
9.2  9.76378  2.12996  -0.257511  43.1072
9.4  10.1849  2.0845  -0.174484  45.1022
9.6  10.599  2.06024  -0.0680877  47.1807
Warning in <ROOT::Math::GSLInterpolator::Eval>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv2>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Integ>: input domain error
9.8  nan  nan  nan  nan

akima  interpolation:
x[i]     y[i]     deriv[i]     deriv2[i]    integral[i] 

0  1  0.664239  -0.56792  0
0.2  1.12196  0.557758  -0.496882  0.212551
0.4  1.22405  0.465486  -0.425844  0.44746
0.6  1.3091  0.387421  -0.354806  0.701036
0.8  1.37997  0.323563  -0.283769  0.970156
1  1.43948  0.273913  -0.212731  1.25227
1.2  1.49048  0.238471  -0.141693  1.54538
1.4  1.53581  0.217236  -0.0706553  1.84808
1.6  1.53749  -0.213344  -1.82695  2.15699
1.8  1.46672  -0.452165  -0.561265  2.45821
2  1.3735  -0.43785  0.704419  2.74218
2.2  1.30845  -0.170398  1.9701  3.00948
2.4  1.32221  0.350191  3.23579  3.27082
2.6  1.45831  0.980542  2.57157  3.54674
2.8  1.69698  1.36178  1.24079  3.86099
3  1.98528  1.47686  -0.0899871  4.22884
3.2  2.28704  1.60432  1.07542  4.65558
3.4  2.62764  1.79273  0.808716  5.14642
3.6  3.00058  1.9278  0.54201  5.70879
3.8  3.53058  3.40278  5.9913  6.35648
4  4.29789  4.10495  1.03047  7.13698
4.2  5.10642  3.81496  -3.93035  8.07838
4.4  5.75773  2.53281  -8.89117  9.16907
4.6  6.0758  0.856856  -5.01493  10.3583
4.8  6.15766  0.0156699  -3.39693  11.5845
5  6.10364  -0.501917  -1.77894  12.8123
5.2  5.97847  -0.695905  -0.160939  14.0212
5.4  5.84685  -0.566293  1.45706  15.2033
5.6  5.77352  -0.113081  3.07505  16.3638
5.8  5.82319  0.663729  4.69305  17.5209
6  6.00687  0.968604  0.045686  18.7032
6.2  6.20139  0.976033  0.0286018  19.924
6.4  6.39706  0.980045  0.0115175  21.1838
6.6  6.59318  0.98064  -0.00556669  22.4828
6.8  6.78909  0.977818  -0.0226509  23.8211
7  6.98408  0.97158  -0.0397351  25.1984
7.2  7.17749  0.961924  -0.0568194  26.6146
7.4  7.36774  0.925094  -0.365427  28.0692
7.6  7.54686  0.873084  -0.154674  29.5609
7.8  7.71978  0.863224  0.0560797  31.0875
8  7.89496  0.895515  0.266833  32.6489
8.2  8.0808  0.969957  0.477587  34.2462
8.4  8.28575  1.08655  0.68834  35.8825
8.6  8.53491  1.54532  3.2725  37.563
8.8  8.8988  2.04038  1.67802  39.3047
9  9.3298  2.21653  0.0835451  41.127
9.2  9.76415  2.07379  -1.51093  43.0368
9.4  10.1759  2.05922  0.0820392  45.0309
9.6  10.5909  2.09816  0.3073  47.1074
Warning in <ROOT::Math::GSLInterpolator::Eval>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv>: Suppressing additional warnings
Warning in <ROOT::Math::GSLInterpolator::Deriv2>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Deriv2>: Suppressing additional warnings
Warning in <ROOT::Math::GSLInterpolator::Integ>: input domain error
Warning in <ROOT::Math::GSLInterpolator::Integ>: Suppressing additional warnings
9.8  nan  nan  nan  nan

cspline-periodic  interpolation:
x[i]     y[i]     deriv[i]     deriv2[i]    integral[i] 

0  1  1.67786  -2.44809  0
0.2  1.28836  1.21449  -2.18563  0.230381
0.4  1.4893  0.803611  -1.92317  0.509516
0.6  1.6133  0.445224  -1.66071  0.82097
0.8  1.67088  0.139329  -1.39825  1.15041
1  1.67254  -0.114074  -1.13579  1.4856
1.2  1.62875  -0.314986  -0.873326  1.81639
1.4  1.55004  -0.463405  -0.610866  2.13477
1.6  1.44881  -0.527214  0.0099224  2.43487
1.8  1.34798  -0.459006  0.672159  2.71432
2  1.27404  -0.258351  1.3344  2.97585
2.2  1.25347  0.074752  1.99663  3.22749
2.4  1.31277  0.540302  2.65887  3.48257
2.6  1.47382  1.04325  2.01326  3.75952
2.8  1.71515  1.33217  0.875923  4.07746
3  1.99152  1.39362  -0.261411  4.44792
3.2  2.26343  1.3666  0.748883  4.87356
3.4  2.56627  1.73448  2.92989  5.35531
3.6  2.9863  2.53855  5.11089  5.90788
3.8  3.58798  3.39567  2.99635  6.56244
4  4.30948  3.73148  0.361758  7.35107
4.2  5.04545  3.54037  -2.27283  8.2872
4.4  5.6905  2.82234  -4.90743  9.36318
4.6  6.14095  1.64143  -5.9303  10.5503
4.8  6.36011  0.597571  -4.50833  11.8039
5  6.39894  -0.161896  -3.08635  13.0824
5.2  6.31431  -0.636969  -1.66437  14.3553
5.4  6.16311  -0.827646  -0.242397  15.6037
5.6  6.00221  -0.733928  1.17958  16.8199
5.8  5.8885  -0.355814  2.60156  18.0077
6  5.87427  0.208367  2.61591  19.1821
6.2  5.96431  0.672235  2.02278  20.3644
6.4  6.13526  1.01748  1.42966  21.5732
6.6  6.36339  1.2441  0.836535  22.8223
6.8  6.62499  1.35209  0.243411  24.1208
7  6.89632  1.34146  -0.349713  25.4729
7.2  7.15366  1.21221  -0.942837  26.8784
7.4  7.37365  0.979142  -1.12164  28.3319
7.6  7.55081  0.811385  -0.555928  29.8249
7.8  7.70574  0.75677  0.0097828  31.3507
8  7.86107  0.815298  0.575494  32.9072
8.2  8.03941  0.986968  1.1412  34.4967
8.4  8.2634  1.27178  1.70692  36.126
8.6  8.55464  1.64078  1.72276  37.8066
8.8  8.91407  1.93748  1.2443  39.5524
9  9.32326  2.1385  0.765836  41.3755
9.2  9.76309  2.24382  0.287374  43.2838
9.4  10.211  2.20039  -0.738188  45.2813
9.6  10.6293  1.94849  -1.78084  47.3662
Warning in <ROOT::Math::GSLInterpolator::Eval>: input domain error
9.8  nan  nan  nan  nan

akima-periodic  interpolation:
x[i]     y[i]     deriv[i]     deriv2[i]    integral[i] 

0  1  1.75679  -3.43611  0
0.2  1.28685  1.13285  -2.80332  0.230765
0.4  1.46158  0.635466  -2.17052  0.507266
0.6  1.54948  0.264641  -1.53773  0.809608
0.8  1.57587  0.0203751  -0.904934  1.12296
1  1.56607  -0.0973322  -0.27214  1.43754
1.2  1.54538  -0.0884808  0.360654  1.74866
1.4  1.53911  0.0469294  0.993448  2.05666
1.6  1.5194  -0.271905  -1.40432  2.36374
1.8  1.44427  -0.442773  -0.304368  2.66068
2  1.35696  -0.393652  0.795582  2.94064
2.2  1.30148  -0.12454  1.89553  3.20558
2.4  1.32181  0.364561  2.99548  3.46628
2.6  1.45831  0.980542  2.57157  3.74219
2.8  1.69698  1.36178  1.24079  4.05645
3  1.98528  1.47686  -0.0899871  4.42429
3.2  2.28704  1.60432  1.07542  4.85104
3.4  2.62764  1.79273  0.808716  5.34188
3.6  3.00058  1.9278  0.54201  5.90425
3.8  3.53058  3.40278  5.9913  6.55194
4  4.29789  4.10495  1.03047  7.33244
4.2  5.10642  3.81496  -3.93035  8.27384
4.4  5.75773  2.53281  -8.89117  9.36453
4.6  6.0758  0.856856  -5.01493  10.5538
4.8  6.15766  0.0156699  -3.39693  11.7799
5  6.10364  -0.501917  -1.77894  13.0078
5.2  5.97847  -0.695905  -0.160939  14.2167
5.4  5.84685  -0.566293  1.45706  15.3988
5.6  5.77352  -0.113081  3.07505  16.5593
5.8  5.82319  0.663729  4.69305  17.7164
6  6.00687  0.968604  0.045686  18.8986
6.2  6.20139  0.976033  0.0286018  20.1194
6.4  6.39706  0.980045  0.0115175  21.3793
6.6  6.59318  0.98064  -0.00556669  22.6783
6.8  6.78909  0.977818  -0.0226509  24.0165
7  6.98408  0.97158  -0.0397351  25.3939
7.2  7.17749  0.961924  -0.0568194  26.81
7.4  7.36774  0.925094  -0.365427  28.2647
7.6  7.54686  0.873084  -0.154674  29.7563
7.8  7.71978  0.863224  0.0560797  31.283
8  7.89496  0.895515  0.266833  32.8444
8.2  8.0808  0.969957  0.477587  34.4417
8.4  8.28575  1.08655  0.68834  36.078
8.6  8.53581  1.56101  3.37889  37.7585
8.8  8.90389  2.06119  1.62298  39.5008
9  9.33688  2.2102  -0.132935  41.3244
9.2  9.76455  2.00802  -1.88885  43.2352
9.4  10.1883  2.19239  0.141526  45.2298
9.6  10.6177  2.04147  -1.65075  47.3109
Warning in <ROOT::Math::GSLInterpolator::Eval>: input domain error
9.8  nan  nan  nan  nan

***********************************
Using default Interpolation type: 

cspline  interpolation:
x[i]     y[i]     deriv[i]     deriv2[i]    integral[i] 

0  1  0.698808  0  0
0.2  1.1385  0.679873  -0.189356  0.213913
0.4  1.26942  0.623066  -0.378712  0.454895
0.6  1.3852  0.528388  -0.568068  0.720673
0.8  1.47825  0.395839  -0.757424  1.00746
1  1.54101  0.225419  -0.94678  1.30996
1.2  1.5659  0.0171271  -1.13614  1.62134
1.4  1.54534  -0.229036  -1.32549  1.93328
1.6  1.47679  -0.428908  -0.575886  2.23617
1.8  1.38521  -0.458264  0.28233  2.52246
2  1.30492  -0.315976  1.14054  2.791
2.2  1.27026  -0.00204597  1.99876  3.04748
2.4  1.31555  0.483528  2.85698  3.30444
2.6  1.46974  1.02983  2.18901  3.58112
2.8  1.71121  1.34345  0.947246  3.89817
3  1.99057  1.40873  -0.294522  4.26813
3.2  2.26438  1.37031  0.698886  4.69381
3.4  2.56717  1.73127  2.91073  5.17576
3.6  2.98638  2.5346  5.12257  5.72844
3.8  3.58755  3.39431  3.00728  6.38295
4  4.30896  3.73185  0.368116  7.17148
4.2  5.0451  3.54156  -2.27105  8.10752
4.4  5.6904  2.82343  -4.91022  9.18346
4.6  6.14098  1.64161  -5.93502  10.3706
4.8  6.3601  0.597016  -4.51095  11.6242
5  6.39878  -0.162767  -3.08688  12.9026
5.2  6.31398  -0.637737  -1.66281  14.1755
5.4  6.16267  -0.827892  -0.238745  15.4238
5.6  6.00181  -0.733235  1.18532  16.6399
5.8  5.88836  -0.353763  2.60939  17.8277
6  5.8747  0.211854  2.62097  19.0021
6.2  5.9655  0.676247  2.02297  20.1845
6.4  6.13722  1.02104  1.42497  21.3937
6.6  6.36594  1.24623  0.82697  22.6432
6.8  6.62774  1.35183  0.228971  23.9422
7  6.8987  1.33782  -0.369028  25.2949
7.2  7.1549  1.20422  -0.967027  26.7007
7.4  7.37278  0.966196  -1.14037  28.1543
7.6  7.54714  0.797095  -0.550632  29.6469
7.8  7.69948  0.745943  0.0391061  31.1717
8  7.85338  0.812738  0.628844  32.7268
8.2  8.03244  0.99748  1.21858  34.3147
8.4  8.26024  1.30017  1.80832  35.943
8.6  8.55915  1.68601  1.73733  37.6236
8.8  8.92666  1.96699  1.07239  39.3713
9  9.33708  2.11497  0.407438  41.1971
9.2  9.76378  2.12996  -0.257511  43.1072
9.4  10.1849  2.0845  -0.174484  45.1022
9.6  10.599  2.06024  -0.0680877  47.1807
Warning in <ROOT::Math::GSLInterpolator::Eval>: input domain error
9.8  nan  nan  nan  nan