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

Online Help

All Products    Maple    MapleSim


MatrixPolynomialAlgebra

  

Coeff

  

extract a coefficient of a matrix of polynomials

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Coeff(A, x, n)

Coeff[row](A, x, vn)

Coeff[column](A, x, vn)

Parameters

A

-

Matrix

x

-

name; specify the variable in which the entries of A are rational polynomials over Q

n

-

integer

vn

-

list of integers

Description

• 

The Coeff(A,x,n) command computes the n-th coefficient of a matrix of polynomials A.

• 

The Coeff[row](A,x,vn) command computes the vn[i]-th coefficient of A for row i. That is, the number of elements in the list vn must equal the number of rows in A.

• 

The Coeff[column](A,x,vn) command computes the vn[i]-th coefficient of A for column i. That is, the number of elements in the list vn must equal the number of columns in A.

Examples

withMatrixPolynomialAlgebra:

A3+x,4,x21|1,x,4|4,2,1

A3+x1−44x2x214−1

(1)

seqCoeffA,x,i,i=0..2

31−4402−14−1,100010000,000000100

(2)

seqCoeffrowA,x,i+1,i,i,i=0..1

100402−14−1,000010000

(3)

seqCoeffcolumnA,x,i+1,i,i,i=0..1

11−400204−1,000010100

(4)

See Also

Matrix

MatrixPolynomialAlgebra

MatrixPolynomialAlgebra[Lcoeff]

seq