= Cox-de Boor recursion formula
{c}
{title2=$N_{i,k}$}
{wiki}
= Cox-de Boor recurrence
{c}
{synonym}
For a nondecreasing <spline knot sequence> $(t_i)$, initialize the order-one <B-splines> by $N_{i,1}(x)=\mathbf1_{[t_i,t_{i+1})}(x)$. For $k\geq2$, the <Cox-de Boor recurrence> is
$$
N_{i,k}(x)=\frac{x-t_i}{t_{i+k-1}-t_i}N_{i,k-1}(x)+\frac{t_{i+k}-x}{t_{i+k}-t_{i+1}}N_{i+1,k-1}(x).
$$
A term with zero denominator is assigned zero. For clamped endpoint evaluation, take the appropriate one-sided continuous value rather than applying the half-open order-one convention beyond the final knot.<Math CS 887: Approximation Theory by Carl de Boor>[recurrence (84)–(86), printed pp.53–54]{ref}
Each order-$k$ <B-spline> is assembled from two neighboring order-$(k-1)$ <B-splines>. On their active spans the weights are nonnegative, which proves nonnegativity inductively and keeps the <support> local. For simple equally spaced <spline knots> and $k=2$, this produces the triangular hat. Evaluating a whole <spline> at one point can combine these same local affine steps through <De Boor's algorithm>.
Back to article page