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

NAG CL Interface Introduction
Example description

nag_interp_dim1_cheb (e01aec) Example Program Results

Total number of interpolating conditions = 7

Interpolating polynomial

   i    Chebyshev Coefficient a(i+1)
   0              9.1250
   1             -4.5781
   2              0.4609
   3              2.8516
   4             -2.8125
   5              2.2266
   6             -0.7109

  x    R   Rth derivative    Residual
 2.0   0         1.0         0.000000
 4.0   0         2.0         0.000000
       1        -1.0         0.000000
 5.0   0         1.0         0.000000
 6.0   0         2.0        -0.000000
       1         4.0        -0.000000
       2        -2.0         0.000000