In
numerical analysis, a cubic Hermite spline or cubic Hermite interpolator is a
spline where each piece is a third-degree
polynomial specified in
Hermite form
In mathematics, the Hermite polynomials are a classical orthogonal polynomials, orthogonal polynomial sequence.
The polynomials arise in:
* signal processing as Hermitian wavelets for wavelet transform analysis
* probability, such as the Edgewo ...
, that is, by its values and first
derivatives
The derivative of a function is the rate of change of the function's output relative to its input value.
Derivative may also refer to:
In mathematics and economics
* Brzozowski derivative in the theory of formal languages
* Formal derivative, an ...
at the end points of the corresponding
domain
Domain may refer to:
Mathematics
*Domain of a function, the set of input values for which the (total) function is defined
**Domain of definition of a partial function
**Natural domain of a partial function
**Domain of holomorphy of a function
* Do ...
interval.
[
]
Cubic Hermite splines are typically used for
interpolation
In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set of known data points.
In engineering and science, one often has a n ...
of numeric data specified at given argument values
, to obtain a
continuous function
In mathematics, a continuous function is a function such that a continuous variation (that is a change without jump) of the argument induces a continuous variation of the value of the function. This means that there are no abrupt changes in value ...
. The data should consist of the desired function value and derivative at each
. (If only the values are provided, the derivatives must be estimated from them.) The Hermite formula is applied to each interval
separately. The resulting spline will be continuous and will have continuous first derivative.
Cubic polynomial splines can be specified in other ways, the
Bezier cubic being the most common. However, these two methods provide the same set of splines, and data can be easily converted between the Bézier and Hermite forms; so the names are often used as if they were synonymous.
Cubic polynomial splines are extensively used in
computer graphics and
geometric modeling
__NOTOC__
Geometric modeling is a branch of applied mathematics and computational geometry that studies methods and algorithms for the mathematical description of shapes.
The shapes studied in geometric modeling are mostly two- or three-dimensi ...
to obtain
curve
In mathematics, a curve (also called a curved line in older texts) is an object similar to a line (geometry), line, but that does not have to be Linearity, straight.
Intuitively, a curve may be thought of as the trace left by a moving point (ge ...
s or motion
trajectories
A trajectory or flight path is the path that an object with mass in motion follows through space as a function of time. In classical mechanics, a trajectory is defined by Hamiltonian mechanics via canonical coordinates; hence, a complete traj ...
that pass through specified points of the
plane
Plane(s) most often refers to:
* Aero- or airplane, a powered, fixed-wing aircraft
* Plane (geometry), a flat, 2-dimensional surface
Plane or planes may also refer to:
Biology
* Plane (tree) or ''Platanus'', wetland native plant
* Planes (gen ...
or three-dimensional
space. In these applications, each coordinate of the plane or space is separately interpolated by a cubic spline function of a separate parameter ''t''.
Cubic polynomial splines are also used extensively in structural analysis applications, such as
Euler–Bernoulli beam theory.
Cubic splines can be extended to functions of two or more parameters, in several ways. Bicubic splines (
Bicubic interpolation
In mathematics, bicubic interpolation is an extension of cubic interpolation (not to be confused with cubic spline interpolation, a method of applying cubic interpolation to a data set) for interpolating data points on a two-dimensional regular ...
) are often used to interpolate data on a regular rectangular grid, such as
pixel values in a
digital image
A digital image is an image composed of picture elements, also known as ''pixels'', each with ''finite'', '' discrete quantities'' of numeric representation for its intensity or gray level that is an output from its two-dimensional functions ...
or
altitude data on a terrain.
Bicubic surface patches, defined by three bicubic splines, are an essential tool in computer graphics.
Cubic splines are often called csplines, especially in computer graphics. Hermite splines are named after
Charles Hermite.
Interpolation on a single interval
Unit interval
, 1
The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline (t ...
/h2>
On the unit interval