Constructs a piecewise interpolating function from data points.
Interpolation[{f1, f2, …}]
Interpolation[{{x1, f1}, {x2, f2}, …}]
Interpolation[{{{x1, y1, …}, f1}, {{x2, y2, …}, f2}, …}]
Interpolation[{{{x1, …}, f1, df1, …}, …}]
Interpolation[data, x]
Head[Interpolation[{{0, 1}, {1, 4}, {2, 9}, {3, 16}}]]
→ InterpolatingFunction{Interpolation[{1, 4, 9}][5/2], Interpolation[{1., 4., 9.}][3/2]}
→
Interpolation::inhr: Requested order is too high; order has been reduced to {2}.
Interpolation::inhr: Requested order is too high; order has been reduced to {2}.
{25/4, 2.25}Interpolation[{{0, 0}, {1, 1}, {2, 4}}][3]
→
Interpolation::inhr: Requested order is too high; order has been reduced to {2}.
InterpolatingFunction::dmval: Input value {3} lies outside the range of data in the interpolating function. Extrapolation will be used.
9"f = Interpolation[{{0, 0}, {1, 1}, {2, 4}}]; {f'[1], f''[1], Head[f']}"
→
Interpolation::inhr: Requested order is too high; order has been reduced to {2}.
{2, 2, InterpolatingFunction}- InterpolationOrder — default Automatic
- Method — default Automatic
- PeriodicInterpolation — default Automatic