nag_2d_spline_interpolant (e01dac) Example Program Results
Distinct knots in x direction located at
1.0000 1.3000 1.5000 1.6000 2.0000
Distinct knots in y direction located at
0.0000 0.4000 0.7000 1.0000
The B-Spline coefficients:
1.0000 1.1333 1.3667 1.7000 1.9000 2.0000
1.2000 1.3333 1.5667 1.9000 2.1000 2.2000
1.5833 1.7167 1.9500 2.2833 2.4833 2.5833
2.1433 2.2767 2.5100 2.8433 3.0433 3.1433
2.8667 3.0000 3.2333 3.5667 3.7667 3.8667
3.4667 3.6000 3.8333 4.1667 4.3667 4.4667
4.0000 4.1333 4.3667 4.7000 4.9000 5.0000
Spline evaluated on a regular mesh (x across, y down):
1.00 1.20 1.40 1.60 1.80 2.00
0.00 1.000 1.440 1.960 2.560 3.240 4.000
0.20 1.200 1.640 2.160 2.760 3.440 4.200
0.40 1.400 1.840 2.360 2.960 3.640 4.400
0.60 1.600 2.040 2.560 3.160 3.840 4.600
0.80 1.800 2.240 2.760 3.360 4.040 4.800
1.00 2.000 2.440 2.960 3.560 4.240 5.000