nag_1d_spline_evaluate (e02bbc) Example Program Results
Augmented set of knots stored in spline.lamda:
1.0000 1.0000 1.0000 1.0000 3.0000 6.0000
8.0000 9.0000 9.0000 9.0000 9.0000
B-spline coefficients stored in spline.c
1.0000 2.0000 4.0000 7.0000 6.0000 4.0000
3.0000
x Value of cubic spline
1.0000 1.0000
2.0000 2.3779
3.0000 3.6229
4.0000 4.8327
5.0000 5.8273
6.0000 6.3571
7.0000 6.1905
8.0000 5.1667
9.0000 3.0000