CurveFitting
BSpline
compute a B-spline basis function
Calling Sequence
Parameters
Description
Examples
BSpline(k, v, opt)
k
-
positive integer; order
v
name
opt
(optional) equation of the form knots=knotlist where knotlist is a list of k+1 elements of type algebraic
The BSpline routine computes a piecewise function representing the B-spline of order k in the symbol v. The non-zero portions of this function are polynomials of degree k-1. If the knots option is not provided, then the uniform knot list [0,1,...,k] is used.
The knot list must contain exactly k+1 elements. These elements must be in non-decreasing order; otherwise, unexpected results may be produced. The knots can have a multiplicity up to k-1. If the multiplicity of a knot is m, then the continuity at that knot is C⁡k−m−1.
This procedure returns a B-spline basis function. Use the CurveFitting[BSplineCurve] procedure to create a B-spline curve.
This function is part of the CurveFitting package, and so it can be used in the form BSpline(..) only after executing the command with(CurveFitting). However, it can always be accessed through the long form of the command by using CurveFitting[BSpline](..).
with⁡CurveFitting:
BSpline⁡2,u
0u<0uu<12−uu<202≤u
BSpline⁡2,u,knots=0,a,2
0u<0uau<a−u+a2−a+1u<202≤u
See Also
CurveFitting[BSplineCurve]
Download Help Document