BernsteinBasis - Bernstein polynomials on an interval
|
Calling Sequence
|
|
BernsteinBasis(k, n, a, b, x)
|
|
Parameters
|
|
k
|
-
|
algebraic expression; the index
|
n
|
-
|
algebraic expression; the degree
|
a
|
-
|
algebraic expression; left end of interval
|
b
|
-
|
algebraic expression; right end of interval
|
x
|
-
|
algebraic expression; the argument
|
|
|
|
|
Description
|
|
•
|
BernsteinBasis(k,n,a,b,x) defines the kth Bernstein polynomial of degree n which is nonnegative on the interval [a,b]. The definition is
|
•
|
At present, this can only be evaluated in Maple by prior use of the object-oriented representation obtained by P:=convert(p,MatrixPolynomialObject,x) and subsequent call to P:-Value(<x-value>), which uses the de Casteljau algorithm to evaluate the polynomial p.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
Note that the result returned by convert(...,MatrixPolynomialObject) represents a matrix polynomial; hence these results are 1 by 1 matrices.
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|