In the
mathematical
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
subfield of
numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods ...
de Boor's algorithm
[C. de Boor ]971
Year 971 ( CMLXXI) was a common year starting on Sunday (link will display the full calendar) of the Julian calendar.
Events
By place
Byzantine Empire
* Battle of Dorostolon: A Byzantine expeditionary army (possibly 30–40,000 men) ...
"Subroutine package for calculating with B-splines", Techn.Rep. LA-4728-MS, Los Alamos Sci.Lab, Los Alamos NM; p. 109, 121. is a polynomial-time and
numerically stable
In the mathematical subfield of numerical analysis, numerical stability is a generally desirable property of numerical algorithms. The precise definition of stability depends on the context. One is numerical linear algebra and the other is algorit ...
algorithm
In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
for evaluating
spline curve
In mathematics, a spline is a special function defined piecewise by polynomials.
In interpolating problems, spline interpolation is often preferred to polynomial interpolation because it yields similar results, even when using low degree poly ...
s in
B-spline form. It is a generalization of
de Casteljau's algorithm In the mathematical field of numerical analysis, De Casteljau's algorithm is a recursive method to evaluate polynomials in Bernstein form or Bézier curves, named after its inventor Paul de Casteljau. De Casteljau's algorithm can also be used to ...
for
Bézier curves. The algorithm was devised by
Carl R. de Boor. Simplified, potentially faster variants of the de Boor algorithm have been created but they suffer from comparatively lower stability.
Introduction
A general introduction to B-splines is given in the
main article. Here we discuss de Boor's algorithm, an efficient and numerically stable scheme to evaluate a spline curve
at position
. The curve is built from a sum of B-spline functions
multiplied with potentially vector-valued constants
, called control points,
:
B-splines of order
are connected piece-wise polynomial functions of degree
defined over a grid of knots
(we always use zero-based indices in the following). De Boor's algorithm uses
O(p
2) +
O(p) operations to evaluate the spline curve. Note: the
main article about B-splines and the classic publications
use a different notation: the B-spline is indexed as
with
.
Local support
B-splines have local support, meaning that the polynomials are positive only in a finite domain and zero elsewhere. The Cox-de Boor recursion formula
[C. de Boor, p. 90] shows this:
:
:
Let the index
define the knot interval that contains the position,