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

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

> 

with⁡MatrixPolynomialAlgebra:

> 

A≔3+x,4,x2−1|1,x,4|−4,2,−1

A≔3+x1−44x2x2−14−1

(1)
> 

seq⁡Coeff⁡A,x,i,i=0..2

31−4402−14−1,100010000,000000100

(2)
> 

seq⁡Coeffrow⁡A,x,i+1,i,i,i=0..1

100402−14−1,000010000

(3)
> 

seq⁡Coeffcolumn⁡A,x,i+1,i,i,i=0..1

11−400204−1,000010100

(4)

See Also

Matrix

MatrixPolynomialAlgebra

MatrixPolynomialAlgebra[Lcoeff]

seq