Cubic

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

Cubic
is a setting specifying the type of spline generated by Spline and SplineFit.

DetailsDetails

  • To use Cubic, you first need to load the Splines Package using Needs["Splines`"].
  • A cubic spline is made of piecewise thirdorder 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.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Cubic splines go through all the points:

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