Interpolation::inhr ListInterpolation::inhr InterpolatingFunction::inhr

Details

  • This message is generated when there are not enough points in the data to construct an interpolation of the requested order.
  • Interpolation of order n requires n+1 data points.
  • The order of interpolation is specified using the InterpolationOrder option.
  • The default value of the InterpolationOrder option is 3. This interpolation order requires at least 4 points in each dimension.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[Interpolation::inhr].

Examples

Basic Examples  (2)

The number of data points is not sufficient for the default interpolation of order 3:

Linear interpolation can be done by setting the value of the InterpolationOrder option to 1:

The first argument in ListInterpolation is interpreted as an array and is expected to have a sufficient number of data points in all dimensions:

If the data is not an array, but rather a list of points in one dimension, the interpolation can be done using Interpolation: