nag_1d_cheb_interp_fit (e02afc) Example Program Results
Chebyshev
J coefficient A(J)
1 2.5320000
2 1.1303095
3 0.2714893
4 0.0443462
5 0.0055004
6 0.0005400
7 0.0000307
8 -0.0000006
9 -0.0000004
10 0.0000049
11 -0.0000200
R Abscissa Ordinate Fit
1 1.0000 2.7182 2.7182
2 0.9511 2.5884 2.5884
3 0.8090 2.2456 2.2456
4 0.5878 1.7999 1.7999
5 0.3090 1.3620 1.3620
6 0.0000 1.0000 1.0000
7 -0.3090 0.7341 0.7341
8 -0.5878 0.5555 0.5555
9 -0.8090 0.4452 0.4452
10 -0.9511 0.3863 0.3863
11 -1.0000 0.3678 0.3678