CurveFitting - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Numerical Computations : Interpolation and Curve Fitting : CurveFitting Package : CurveFitting/BSpline

CurveFitting

  

BSpline

  

compute a B-spline basis function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

BSpline(k, v, opt)

Parameters

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

Description

• 

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 Ckm1.

• 

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](..).

Examples

withCurveFitting:

BSpline2,u

&lcub;0u<0uu<12uu<202u

(1)

BSpline2&comma;u&comma;knots&equals;0&comma;a&comma;2

&lcub;0u<0uau<au&plus;a2a&plus;1u<202u

(2)

See Also

CurveFitting

CurveFitting[BSplineCurve]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam