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

NAG CL Interface Introduction
Example description

nag_fit_dim2_cheb_lines (e02cac) Example Program Results

     Data Y     Data X     Data F   Fitted F   Residual

     0.0000     0.1000     1.0100     1.0175   7.40e-03
     0.0000     1.0000     1.1052     1.1126   7.39e-03
     0.0000     1.6000     1.1735     1.1809   7.43e-03
     0.0000     2.1000     1.2337     1.2412   7.55e-03
     0.0000     3.3000     1.3910     1.3992   8.19e-03
     0.0000     3.9000     1.4770     1.4857   8.72e-03
     0.0000     4.2000     1.5220     1.5310   9.03e-03
     0.0000     4.9000     1.6323     1.6422   9.83e-03

     1.0000     0.1000     2.0201     1.9987  -2.14e-02
     1.0000     1.1000     2.2326     2.2110  -2.16e-02
     1.0000     1.9000     2.4185     2.3962  -2.23e-02
     1.0000     2.7000     2.6199     2.5966  -2.34e-02
     1.0000     3.2000     2.7543     2.7299  -2.43e-02
     1.0000     4.1000     3.0136     2.9869  -2.68e-02
     1.0000     4.5000     3.1366     3.1084  -2.82e-02

     2.0000     0.5000     3.1538     3.1700   1.62e-02
     2.0000     1.1000     3.3488     3.3648   1.60e-02
     2.0000     1.3000     3.4165     3.4325   1.60e-02
     2.0000     2.2000     3.7382     3.7549   1.66e-02
     2.0000     2.9000     4.0093     4.0272   1.79e-02
     2.0000     3.5000     4.2572     4.2769   1.97e-02
     2.0000     3.9000     4.4309     4.4521   2.12e-02

     4.0000     1.7000     5.9265     5.9231  -3.42e-03
     4.0000     2.0000     6.1070     6.1036  -3.41e-03
     4.0000     2.4000     6.3563     6.3527  -3.50e-03
     4.0000     2.7000     6.5498     6.5462  -3.64e-03
     4.0000     3.1000     6.8171     6.8132  -3.98e-03
     4.0000     3.5000     7.0953     7.0909  -4.49e-03

Chebyshev coefficients of the fit

    15.3482      5.1507      0.1014 
     1.1472      0.1442     -0.1046 
     0.0490     -0.0031     -0.0070 
     0.0015     -0.0003     -0.0002