# ListInterpolation

ListInterpolation[array]

constructs an InterpolatingFunction object that represents an approximate function that interpolates the array of values given.

ListInterpolation[array,{{xmin,xmax},{ymin,ymax},}]

specifies the domain of the grid from which the values in array are assumed to come.

# Details and Options

• You can replace {xmin,xmax} etc. by explicit lists of positions for grid lines. The grid lines are otherwise assumed to be equally spaced.
• ListInterpolation[array] assumes grid lines at integer positions in each direction.
• array can be an array in any number of dimensions, corresponding to a list with any number of levels of nesting.
• ListInterpolation[array,domain] generates an InterpolatingFunction object that returns values with the same precision as those in {array,domain}.
• ListInterpolation supports a Method option. Possible settings include "Spline" for spline interpolation and "Hermite" for Hermite interpolation.

# Examples

open allclose all

## Basic Examples(3)

Construct an approximate function that interpolates the data:

 In[1]:=
 Out[1]=

Apply the function to find interpolated values:

 In[2]:=
 Out[2]=

Plot the interpolation function:

 In[3]:=
 Out[3]=

Compare with the original data:

 In[4]:=
 Out[4]=

Construct an approximate function with the x values equally spaced on the interval :

 In[1]:=
 Out[1]=

Apply the function to find interpolated values:

 In[2]:=
 Out[2]=

Plot the interpolation function with the original data:

 In[3]:=
 Out[3]=

Construct an approximate function that interpolates the values from an array of values:

 In[1]:=
 Out[1]=

Plot the function with the original data:

 In[2]:=
 Out[2]=