This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Cubic

As of Version 7.0, some of the functionality of the Splines Package is now built into the Mathematica kernel.

is a setting specifying the type of spline generated by Spline and SplineFit.
  • A cubic spline is made of piecewise third-order polynomials, with 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.
Cubic splines go through all the points:
Needs["Splines`"]
Cubic splines go through all the points:
In[2]:=
Click for copyable input
Out[2]=