NAG Library Manual, Mark 30.3
Interfaces:  FL   CL   CPP   AD 

NAG FL Interface Introduction
Example description

 E02BAF Example Program Results

   J       LAMDA(J+2)     B-spline coeff C(J)

   1                            -0.0465
   2         0.2000              3.6150
   3         1.5000              8.5724
   4         2.6000              9.4261
   5         4.0000              7.2716
   6         8.0000              4.1207
   7        12.0000              3.0822
   8                             2.5597

 Residual sum of squares =     0.18E-02

 Cubic spline approximation and residuals

   R   Abscissa     Weight   Ordinate     Spline  Residual

   1     0.2000     0.2000     0.0000    -0.0465 -0.47E-01
         0.3350                           1.0622
   2     0.4700     0.2000     2.0000     2.1057  0.11E+00
         0.6050                           3.0817
   3     0.7400     0.3000     4.0000     3.9880 -0.12E-01
         0.9150                           5.0558
   4     1.0900     0.7000     6.0000     5.9983 -0.17E-02
         1.3450                           7.1376
   5     1.6000     0.9000     8.0000     7.9872 -0.13E-01
         1.7500                           8.3544
   6     1.9000     1.0000     8.6200     8.6348  0.15E-01
         2.2500                           9.0076
   7     2.6000     1.0000     9.1000     9.0896 -0.10E-01
         2.8500                           9.0353
   8     3.1000     1.0000     8.9000     8.9125  0.12E-01
         3.5500                           8.5660
   9     4.0000     0.8000     8.1500     8.1321 -0.18E-01
         4.5750                           7.5592
  10     5.1500     0.5000     7.0000     6.9925 -0.75E-02
         5.6600                           6.5010
  11     6.1700     0.7000     6.0000     6.0255  0.26E-01
         7.0850                           5.2292
  12     8.0000     1.0000     4.5400     4.5315 -0.85E-02
         9.0000                           3.9045
  13    10.0000     1.0000     3.3900     3.3928  0.28E-02
        11.0000                           2.9574
  14    12.0000     1.0000     2.5600     2.5597 -0.35E-03