此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

Cubic

As of Version 7.0, some of the functionality of the Splines Package is now built into the Mathematica kernel. RightSkeleton
Cubic
is a setting specifying the type of spline generated by Spline and SplineFit.
  • A cubic spline is made of piecewise third-order polynomials, with C^(1) continuity, and interpolates each of the points from which it is created.
  • The second derivative of the spline at the endpoints is set to 0.
Needs["Splines`"]
Cubic splines go through all the points:
In[2]:=
Click for copyable input
Out[2]=