This chapter describes functions for performing interpolation. The library provides a variety of interpolation methods, including Cubic, Akima, and Steffen splines. The interpolation types are interchangeable, allowing different methods to be used without recompiling. Interpolations can be defined for both normal and periodic boundary conditions. Additional functions are available for computing derivatives and integrals of interpolating functions. Routines are provided for interpolating both one and two dimensional datasets.
These interpolation methods produce curves that pass through each datapoint. To interpolate noisy data with a smoothing curve see Basis Splines.
The functions described in this section are declared in the header files gsl_interp.h and gsl_spline.h.
|• 1D Introduction to Interpolation:|
|• 1D Interpolation Functions:|
|• 1D Interpolation Types:|
|• 1D Index Look-up and Acceleration:|
|• 1D Evaluation of Interpolating Functions:|
|• 1D Higher-level Interface:|
|• 1D Interpolation Example programs:|
|• 1D Interpolation References and Further Reading:|
|• 2D Introduction to Interpolation:|
|• 2D Interpolation Functions:|
|• 2D Interpolation Grids:|
|• 2D Interpolation Types:|
|• 2D Evaluation of Interpolating Functions:|
|• 2D Higher-level Interface:|
|• 2D Interpolation Example programs:|