Close
Close window
BSpline - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

CurveFitting

BSpline

compute a B-spline basis function

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

0u<0uu<12uu<202u

(1)
>

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

0u<0uau<au+a2a+1u<202u

(2)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /