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

NAG CL Interface Introduction
Example description

nag_fit_dim2_spline_sctr (e02ddc) Example Program Results

Calling with smoothing factor s =    1.0000e+01, nx = 10, ny = 9
rank deficiency = 0

Distinct knots in x direction located  at
      0.0000       9.7575      18.2582      25.0000

Distinct knots in y direction located  at
      0.0000       9.0008      20.0000

The B-spline coefficients:

    58.16    46.31     6.01    32.00     5.86   -23.78
    63.78    46.74    33.37    18.30    14.36    15.95
    40.84   -33.79     5.17    13.10    -4.13    19.37
    75.44   111.92     6.94    17.33     7.09   -13.24
    34.61   -42.61    25.20    -1.96    10.37    -9.09

 Sum of squared residuals fp =    1.0002e+01

Values of computed spline:

          x    3.00     6.00     9.00    12.00    15.00    18.00    21.00 
     y
   17.00      40.74    28.62    19.84    14.29    11.21     9.46     7.09 
   14.00      48.34    33.97    21.56    14.71    12.32    10.82     7.15 
   11.00      37.26    24.46    17.21    14.14    13.02    11.23     7.29 
    8.00      30.25    19.66    16.90    16.28    15.21    12.71     8.99 
    5.00      36.64    26.75    23.07    21.13    18.97    15.90    11.98 
    2.00      45.04    33.70    26.25    22.88    21.62    19.39    13.40