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

NAG FL Interface Introduction
Example description

 E02AGF Example Program Results

 Degree  RMS residual
    3       2.55E-03
    4       2.94E-03

 Details of the fit of degree  4

   Index   Coefficient
      0     3.9980
      1     3.4995
      2     3.0010
      3     0.5005
      4    -0.0000

      I      X(I)       Y(I)       Fit     Residual
      1     0.5000     0.0300     0.0310   0.10E-02
      2     1.0000    -0.7500    -0.7508  -0.78E-03
      3     2.0000    -1.0000    -1.0020  -0.20E-02
      4     2.5000    -0.1000    -0.0961   0.39E-02
      5     3.0000     1.7500     1.7478  -0.22E-02