multivariate and rational splines -凯发k8网页登录

main content

multivariate and rational splines

multivariate splines

multivariate splines can be obtained from univariate splines by the tensor product construct. for example, a trivariate spline in b-form is given by

f(x,y,z)=u=1uv=1vw=1wbu,k(x)bv,l(y)bw,m(z)au,v,w

with bu,k,bv,l,bw,m univariate b-splines. correspondingly, this spline is of order k in x, of order l in y, and of order m in z. similarly, the ppform of a tensor-product spline is specified by break sequences in each of the variables and, for each hyper-rectangle thereby specified, a coefficient array. further, as in the univariate case, the coefficients may be vectors, typically 2-vectors or 3-vectors, making it possible to represent, e.g., certain surfaces in ℜ3.

a very different bivariate spline is the thin-plate spline. this is a function of the form

f(x)=j=1n3ψ(xcj)aj x(1)an2 x(2)an1 an

with ψ(x)=|x|2log|x|2 the thin-plate spline basis function, and |x| denoting the euclidean length of the vector x. here, for convenience, denote the independent variable by x, but x is now a vector whose two components, x(1) and x(2), play the role of the two independent variables earlier denoted x and y. correspondingly, the sites cj are points in ℜ2.

thin-plate splines arise as bivariate smoothing splines, meaning a thin-plate spline minimizes

pi=1n3|yifci2| (1p)(|d1d1f|2 2|d1d2f|2 |d2d2f|2)

over all sufficiently smooth functions f. here, the yi are data values given at the data sites ci, p is the smoothing parameter, and djf denotes the partial derivative of f with respect to x(j). the integral is taken over the entire ℜ2. the upper summation limit, n–3, reflects the fact that 3 degrees of freedom of the thin-plate spline are associated with its polynomial part.

thin-plate splines are functions in stform, meaning that, up to certain polynomial terms, they are a weighted sum of arbitrary or scattered translates ψ(· -c) of one fixed function, ψ. this so-called basis function for the thin-plate spline is special in that it is radially symmetric, meaning that ψ(x) only depends on the euclidean length, |x|, of x. for that reason, thin-plate splines are also known as rbfs or radial basis functions. see for more information.

rational splines

a rational spline is any function of the form r(x) = s(x)/w(x), with both s and w splines and, in particular, w a scalar-valued spline, while s often is vector-valued.

rational splines are attractive because it is possible to describe various basic geometric shapes, like conic sections, exactly as the range of a rational spline. for example, a circle can so be described by a quadratic rational spline with just two pieces.

in this toolbox, there is the additional requirement that both s and w be of the same form and even of the same order, and with the same knot or break sequence. this makes it possible to store the rational spline r as the ordinary spline r whose value at x is the vector [s(x);w(x)]. depending on whether the two splines are in b-form or ppform, such a representation is called here the rbform or the rpform of such a rational spline.

it is easy to obtain r from r. for example, if v is the value of r at x, then v(1:end-1)/v(end) is the value of r at x. as another example, consider getting derivatives of r from those of r. because s = wr, leibniz' rule tells us that

dms=j=0m(mj)djwdmjr

where dms the mth derivative of s.

hence, if v(:,j) contains dj–1r(x), j = 1...m   1, then

(((v(1:end1,m 1)j=1m(mj)v(end,j 1)v(1:end1,j 1))/v(end,1))

provides the value of dmr(x).

related topics

    网站地图