Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.Curves Namespace
Represents a cubic spline curve.
For a list of all members of this type, see CubicSpline Members.
System.Object
Curve
PiecewiseCurve
CubicSpline
Use the CubicSpline class to interpolate tabulated data, or to approximate a function defined in terms of tabulated data.
A cubic spline is a piecewise curve defined by a third degree polynomial on each interval. In addition, the function value as well as the first and second derivatives are continuous.
Splines are defined by the data points and two additional conditions. Depending on the nature of these conditions, different types of spline curves arise. There are two main kinds of splines.
A natural spline is a spline curve whose second derivative at the end points are zero. This type of spline tends to minimize the overall curvature of the spline. There is only one natural spline for a given set of data points.
A clamped spline is a spline curve whose slope is fixed at both end points. There is a clamped spline curve for each pair of slopes. Therefore, two parameters must be defined in addition to the data points to specify a clamped spline completely.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Mathematics (in Extreme.Mathematics.dll)
CubicSpline Members | Extreme.Mathematics.Curves Namespace