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

NAG CL Interface Introduction
Example description

nag_fit_dim1_spline_auto (e02bec) Example Program Results

Calling with smoothing factor s =    1.000e+00

Number of distinct knots = 3

Distinct knots located at 

  0.0000   4.0000   8.0000


    J      B-spline coeff c

    1        -1.3201
    2         1.3542
    3         5.5510
    4         4.7031
    5         8.2277

Weighted sum of squared residuals fp =    1.000e+00

Calling with smoothing factor s =    5.000e-01

Number of distinct knots = 7

Distinct knots located at 

  0.0000   1.0000   2.0000   4.0000   5.0000   6.0000
  8.0000


    J      B-spline coeff c

    1        -1.1072
    2        -0.6571
    3         0.4350
    4         2.8061
    5         4.6824
    6         4.6416
    7         5.1976
    8         6.9008
    9         7.9979

Weighted sum of squared residuals fp =    5.001e-01

Calling with smoothing factor s =    1.000e-01

Number of distinct knots = 10

Distinct knots located at 

  0.0000   1.0000   1.5000   2.0000   3.0000   4.0000
  4.5000   5.0000   6.0000   8.0000


    J      B-spline coeff c

    1        -1.0900
    2        -0.6422
    3         0.0369
    4         1.6353
    5         2.1274
    6         4.5526
    7         4.2225
    8         4.9108
    9         4.4159
   10         5.4794
   11         6.8308
   12         7.9935

Weighted sum of squared residuals fp =    1.000e-01