Chapter Introduction
NAG C Library Manual

## e02 – Curve and Surface Fitting

 RoutineName Mark ofIntroduction Purpose e02adc Example Text Example Data 5 nag_1d_cheb_fit Computes the coefficients of a Chebyshev series polynomial for arbitrary data e02aec Example Text Example Data 5 nag_1d_cheb_eval Evaluates the coefficients of a Chebyshev series polynomial e02afc Example Text Example Data 5 nag_1d_cheb_interp_fit Computes the coefficients of a Chebyshev series polynomial for interpolated data e02agc Example Text Example Data 7 nag_1d_cheb_fit_constr Least-squares polynomial fit, values and derivatives may be constrained, arbitrary data points e02ahc Example Text 7 nag_1d_cheb_deriv Derivative of fitted polynomial in Chebyshev series form e02ajc Example Text 7 nag_1d_cheb_intg Integral of fitted polynomial in Chebyshev series form e02akc Example Text 7 nag_1d_cheb_eval2 Evaluation of fitted polynomial in one variable from Chebyshev series form e02bac Example Text Example Data 2 nag_1d_spline_fit_knots Least-squares curve cubic spline fit (including interpolation), one variable e02bbc Example Text Example Data 2 nag_1d_spline_evaluate Evaluation of fitted cubic spline, function only e02bcc Example Text Example Data 2 nag_1d_spline_deriv Evaluation of fitted cubic spline, function and derivatives e02bdc Example Text Example Data 2 nag_1d_spline_intg Evaluation of fitted cubic spline, definite integral e02bec Example Text Example Data 2 nag_1d_spline_fit Least-squares cubic spline curve fit, automatic knot placement, one variable e02cac Example Text Example Data 7 nag_2d_cheb_fit_lines Least-squares surface fit by polynomials, data on lines e02cbc Example Text Example Data 7 nag_2d_cheb_eval Evaluation of fitted polynomial in two variables e02dcc Example Text Example Data 2 nag_2d_spline_fit_grid Least-squares bicubic spline fit with automatic knot placement, two variables (rectangular grid) e02ddc Example Text Example Data 2 nag_2d_spline_fit_scat Least-squares bicubic spline fit with automatic knot placement, two variables (scattered data) e02dec Example Text Example Data 2 nag_2d_spline_eval Evaluation of bicubic spline, at a set of points e02dfc Example Text Example Data 2 nag_2d_spline_eval_rect Evaluation of bicubic spline, at a mesh of points e02gac Example Text Example Data 7 nag_lone_fit L1-approximation by general linear function e02gcc Example Text Example Data 7 nag_linf_fit L∞-approximation by general linear function e02rac Example Text 7 nag_1d_pade Padé-approximants e02rbc Example Text 7 nag_1d_pade_eval Evaluation of fitted rational function as computed by e02rac

Chapter Introduction
NAG C Library Manual

© The Numerical Algorithms Group Ltd, Oxford UK. 2002