ConvolutionMatrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


PolynomialTools[Approximate]

  

ConvolutionMatrix

  

construct a Convolution matrix of a polynomial

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ConvolutionMatrix(F, vars, degree)

ConvolutionMatrix(F, vars, degree, rtableoptions=[options])

Parameters

F

-

polynom

vars

-

set or list of variables

degree

-

non-negative integer

options

-

(optional) options that are passed to the Matrix constructor

Description

• 

The ConvolutionMatrix command returns a Matrix that represents polynomial multiplication of F by a polynomial of the given degree (total degree) when the polynomial to multiply is represented as a vector as returned by CoefficientVector.

• 

A Sylvester matrix can be considered to be a block matrix composed of two convolution matrices and the SylvesterMatrix command calls this one.

• 

The approximate polynomial division command Divide solves up a least squares problem on the output of this command.

Examples

withPolynomialTools:-Approximate:

fx2+y21;gx2+xy+y+1

fx2+y21

gx2+xy+y+1

(1)

fgsortexpandfg,x,y

fgx4+x3y+x2y2+xy3+x2y+y3xy+y2y1

(2)

CfConvolutionMatrixf,x,y,degreeg,x,y

vgPolynomialTools:-CoefficientVectorg,x,y

vg101110

(3)

This matrix vector product computes the polynomial product

vfgCf·vg

PolynomialTools:-FromCoefficientVectorvfg,x,y

x4+x3y+x2y2+xy3+x2y+y3xy+y2y1

(4)

Compatibility

• 

The PolynomialTools:-Approximate:-ConvolutionMatrix command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

Divide