PochhammerBasis - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : PochhammerBasis

PochhammerBasis

Pochhammer polynomials based at a point

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

PochhammerBasis(k, a, x)

Parameters

k

-

algebraic expression; the index

a

-

algebraic expression; the starting point

x

-

algebraic expression; the argument

Description

• 

PochhammerBasisk,a,x=∏j=0k−1x+a+j defines the kth Pochhammer polynomial of degree n. The degree of the kth Pochhammer polynomial is k.

• 

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 Horner's method to evaluate the polynomial p.

Examples

> 

a≔a

a≔a

(1)
> 

p≔3⁢PochhammerBasis⁡0&comma;a&comma;x+5⁢PochhammerBasis⁡2&comma;a&comma;x+7⁢PochhammerBasis⁡3&comma;a&comma;x

p≔3⁢PochhammerBasis⁡0&comma;a&comma;x+5⁢PochhammerBasis⁡2&comma;a&comma;x+7⁢PochhammerBasis⁡3&comma;a&comma;x

(2)

This is in effect a NewtonBasis polynomial expression on the nodes a, a+1, and a+2.

> 

P≔convert⁡p&comma;MatrixPolynomialObject&comma;x

P≔Record⁡Value=Defaultvalue&comma;Variable=x&comma;Degree=3&comma;Coefficient=coe&comma;Dimension=1&comma;1&comma;Basis=PochhammerBasis&comma;BasisParameters=a&comma;IsMonic=mon&comma;OutputOptions=shape=&comma;storage=rectangular&comma;order=Fortran_order&comma;fill=0&comma;attributes=

(3)
> 

P:-Degree⁡

3

(4)

Note that the result returned by convert⁡...,MatrixPolynomialObject represents a matrix polynomial; hence these results are 1 by 1 matrices.

> 

P:-Value⁡x1,1

x+a⁢x+a+1⁢7⁢x+7⁢a+19+3

(5)
> 

a≔a

a≔a

(6)
> 

p≔add⁡bk⁢PochhammerBasis⁡k&comma;a&comma;x&comma;k=0..3

p≔b0⁢PochhammerBasis⁡0&comma;a&comma;x+b1⁢PochhammerBasis⁡1&comma;a&comma;x+b2⁢PochhammerBasis⁡2&comma;a&comma;x+b3⁢PochhammerBasis⁡3&comma;a&comma;x

(7)
> 

P≔convert⁡p&comma;MatrixPolynomialObject&comma;x

P≔Record⁡Value=Defaultvalue&comma;Variable=x&comma;Degree=3&comma;Coefficient=coe&comma;Dimension=1&comma;1&comma;Basis=PochhammerBasis&comma;BasisParameters=a&comma;IsMonic=mon&comma;OutputOptions=shape=&comma;storage=rectangular&comma;order=Fortran_order&comma;fill=0&comma;attributes=

(8)
> 

collect⁡P:-Value⁡t1,1&comma;seq⁡bk&comma;k=0..3&comma;factor

b0+t+a⁢b1+t+a⁢t+a+1⁢b2+t+a⁢t+a+1⁢t+a+2⁢b3

(9)

See Also

BernsteinBasis

convert/MatrixPolynomialObject

LagrangeBasis

LinearAlgebra[CompanionMatrix]

NewtonBasis

OrthogonalSeries

type/MatrixPolynomialObject