Mathematica 9 is now available

InterpolatingFunction

Usage

InterpolatingFunction[domain, table]表示值由插值给出的近似函数。


Notes

InterpolatingFunctionFunction一样使用.
InterpolatingFunction[ ... ][x]找有特殊自变量 x的近似函数的值。 • 在标准输出格式中,只有InterpolatingFunction对象的domain元素明确打印。其他元素由 <>指定。
domain 指定InterpolatingFunction被构造的数域。 • 如果使用的自变量超出了域的范围,就会产生一个警告,然后返回一个外插值。
• 可能构造取任何个实自变量的InterpolatingFunction对象。 • 可以用 DDerivative取对象InterpolatingFunction的导数。
NDSolve 根据对象InterpolatingFunction返回它的结果。
• 参见 Mathematica 全书: 1.6.4, 节 2.2.8 and 节 3.8.2.
• 实现注释: 参见节 A.9.4.
• 相关包: NumericalMath`SplineFit`.
Further Examples

Here is a table of values of the reciprocal function and an InterpolatingFunction object that represents the data.

In[1]:=  

Out[1]=

In[2]:=  

Out[2]=

An InterpolatingFunction object can be evaluated just like any other Mathematica function. The approximate function reproduces the values given at the data points and it gives approximate values in between.

In[3]:=  

Out[3]=

The approximate function is close to the original reciprocal function for most values in the domain.

Evaluate the cell to see the graphic.

In[4]:=  

In[5]:=  



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.