# FunctionInterpolation

Usage

FunctionInterpolation[expr, x, xmin, xmax]xxminxmax计算expr且构造一个InterpolatingFunction对象，这个对象相应于结果表示一个适当的函数。
FunctionInterpolation[expr, x, xmin, xmax, y, ymin, ymax, ... ] 构造一个有多个自变量的InterpolatingFunction对象。

Notes

• 可以使用FunctionInterpolation从一个包含几个这样的对象中产生一个单一的InterpolatingFunction对象。
InterpolationPrecision选项指定由InterpolatingFunction产生的返回值的精度。
• 参见 Interpolation的注解。
• 参见 Mathematica 全书: 3.8.2节.
Further Examples

FunctionInterpolation can be used to simplify a combination of InterpolatingFunction objects. It can also be used to make an approximate function to a desired precision and accuracy goal from a function that is costly to evaluate.

Here is a function with argument t that gives the x value of the intersection of the graphs y = x and y = Cos[t x].

 In[1]:=
 In[2]:=
 Out[2]=

Evaluate the cell to see the graphic.

 In[3]:=
 In[4]:=

 Out[4]=

Evaluate the cell to see the graphic.

 In[5]:=

The function int is an InterpolatingFunction object that depends on the parameter .

 In[6]:=
 Out[6]=
 In[7]:=
 Out[7]=
 In[8]:=
 Out[8]=
 In[9]:=
 Out[9]=
 In[10]:=
 Out[10]=
 In[11]:=
 Out[11]=
 In[12]:=
 Out[12]=

Evaluate the cell to see the graphic.

 In[13]:=
 In[14]:=
 Out[14]=
 In[15]:=
 Out[15]=
 In[16]:=
 Out[16]=

Evaluate the cell to see the graphic.

 In[17]:=
 In[18]:=