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

NAG CL Interface Introduction
Example description

nag_fit_dim1_minimax_polynomial (e02alc) Example Program Results


  Polynomial coefficients
       1.0000e+00 
       1.0001e+00 
       4.9909e-01 
       1.7042e-01 
       3.4784e-02 
       1.3909e-02 


  Reference deviation =   1.09e-06

  x      Fit     exp(x)   Residual
 0.00   1.0000   1.0000  -1.09e-06
 0.10   1.1052   1.1052   9.74e-07
 0.20   1.2214   1.2214  -7.44e-07
 0.30   1.3499   1.3499  -9.18e-07
 0.40   1.4918   1.4918   2.99e-07
 0.50   1.6487   1.6487   1.09e-06
 0.60   1.8221   1.8221   4.59e-07
 0.70   2.0138   2.0138  -8.16e-07
 0.80   2.2255   2.2255  -8.42e-07
 0.90   2.4596   2.4596   8.75e-07
 1.00   2.7183   2.7183  -1.09e-06