|
Interpolation
Interpolation[data] constructs an InterpolatingFunction object which represents an approximate function that interpolates the data.
The data can have the forms   ,  ,  ,  , ... or  , , ... , where in the second case, the are taken to have values 1, 2, ... .
Data can be given in the form   ,  , , , ...  , ... to specify derivatives as well as values of the function at the points . You can specify different numbers of derivatives at different points.
Function values and derivatives may be real or complex numbers, or arbitrary symbolic expressions. The must be real numbers.
Multidimensional data can be given in the form   , , ... ,  , ... . Derivatives in this case can be given by replacing and so on by  ,  , , ...  .
Interpolation works by fitting polynomial curves between successive data points.
The degree of the polynomial curves is specified by the option InterpolationOrder.
The default setting is InterpolationOrder -> 3.
You can do linear interpolation by using the setting InterpolationOrder -> 1.
Interpolation[data] generates an InterpolatingFunction object which returns values with the same precision as those in data.
See Section 3.8.3.
See also: ListInterpolation, FunctionInterpolation, InterpolatingPolynomial, Fit, Quantile.
Related packages: NumericalMath`SplineFit`, NumericalMath`PolynomialFit`, NumericalMath`Approximations`, DiscreteMath`ComputationalGeometry`.
New in Version 2; modified in 3.
Further Examples
|