FunctionInterpolation

FunctionInterpolation[expr,{x,xmin,xmax}]
evaluates expr with x running from to and constructs an InterpolatingFunction object which represents an approximate function corresponding to the result.

FunctionInterpolation[expr,{x,xmin,xmax},{y,ymin,ymax},]
constructs an InterpolatingFunction object with several arguments.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Computes an InterpolatingFunction representation of Exp[-Sin[x]^2]:

In[1]:=
Click for copyable input
Out[1]=

Use the resulting function as any function:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 1996
(3.0)