b-凯发k8网页登录

main content

b-splines and smoothing splines

the cox-de boor recursion definition of the jth b-spline bj,k(x) with order k and nondecreasing knot sequence t=(t0,t1,,tn) is given by the following formulas:

bj,1(x)={1tjx<tj 10x<tj,tj 1xbj,k 1(x)=xtjtj k1tjbj,k1(x) tj kxtj ktj 1bj 1,k1(x)

the reference page for the interface lists some of the basic properties of the b-spline. you can use the interface to gain some experience with b-splines. the most important property of the b-spline is also the reason for the letter b in its name:

every space of (univariate) piecewise-polynomials of a given order has a basis consisting of b-splines.

b-spline properties

because bj,k is nonzero only on the interval (tj,tj k), the linear system for the b-spline coefficients is banded and easy to solve. for example, to construct a spline s of order k with knot sequence t1t2 ≤··· ≤ tn k so that s(xi)=yi for i=1, ..., n, use the linear system

j=1nbj,k(xi)aj=yii=1:n

for the unknown b-spline coefficients aj in which each equation has at most k nonzero entries.

also, many theoretical facts concerning splines are most easily stated or proved in terms of b-splines. for example, it is possible to match arbitrary data at sites x1<<xn uniquely by a spline of order k with knot sequence (t1, ..., tn k) if and only if bj,k(xj)≠0 for all j (schoenberg-whitney conditions). computations with b-splines are facilitated by their stable recurrence relations, which are also helpful in the conversion from b-form to ppform. the dual functional

aj(s):=i<k(d)ki1ψj(τ)dis(τ)

provides a useful expression for the jth b-spline coefficient of the spline s in terms of its value and derivatives at an arbitrary site τ between tj and tj k, and with ψj(t):=(tj 1–t)··· (tj k–1–t)/(k–1)!. it can be used to show that aj(s) is closely related to s on the interval [tj..tj k], and seems the most efficient means for converting from ppform to b-form.

variational approach and smoothing splines

the above constructive approach is not the only avenue to splines. in the variational approach, a spline is obtained as a best interpolant, e.g., as the function with smallest mth derivative among all those matching prescribed function values at certain sites. as it turns out, among the many such splines available, only those that are piecewise-polynomials or, perhaps, piecewise-exponentials have found much use. of particular practical interest is the smoothing spline s = sp which, for given data (xi,yi) with x∊[a..b], all i, and given corresponding positive weights wi, and for given smoothing parameter p, minimizes

piwi|yif(xi)|2 (1p)ab|dmf(t)|2dt

over all functions f with m derivatives. it turns out that the smoothing spline s is a spline of order 2m with a break at every data site. the smoothing parameter, p, is chosen artfully to strike the right balance between wanting the error measure

e(s)=iwi|yis(xi)|2

small and wanting the roughness measure

f(dms)=ab|dms(t)|2dt

small. the hope is that s contains as much of the information, and as little of the supposed noise, in the data as possible. one approach to this (used in ) is to make f(dmf) as small as possible subject to the condition that e(f) be no bigger than a prescribed tolerance. for computational reasons, spaps uses the (equivalent) smoothing parameter ρ=p/(1–p), i.e., minimizes ρe(f) f(dmf). also, it is useful at times to use the more flexible roughness measure

f(dms)=abλ(t)|dms(t)|2dt

with λ a suitable positive weight function.

related topics

    网站地图