Spline (mathematics)
A spline is a smooth curve defined mathematically by two or more control points. The control points that lie on the curve are called knots.Splines can be divided into two main categories:
- interpolating splines which pass through all of the control points
- approximating splines which pass near all of the control points
Within numerical analysis, interpolating splines are used for piecewise polynomial interpolation. An important characteristic of splines is that they are given by polynomials, but only piecewise: different polynomials may be used in different parts of a curve. A significant advantage of this approach is that it can follow a large, complex curve and still avoid Runge's phenomenon by using low degree polynomials. Cubic polynomials are the most common type used.
The simplicity of representation and the ease with which a complex spline's shape may be computed make splines popular representations for curves in computer science, predominantly in computer graphics but also for other kinds of interpolation, such as smoothing of digital audio.
The term spline comes fom the spline gadget used by shipbuilders to draw smooth shapes.
| Table of contents |
|
2 Interpolating splines 3 Approximating splines |
A function S is called a spline of degree k if:
The interpolating splines include:
Formal definition of polynomial spline
In general, the continuity of a function f at s can be defined by the condition:
Interpolating splines
The de Boor algorithm is an efficient method for evaluating an interpolating spline curve.
The approximating splines include:
Approximating splines
The de Casteljau's algorithm is a recursive method to create Bézier splines.
