extract a coefficient of a matrix of polynomials - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : Matrix Polynomial Algebra : MatrixPolynomialAlgebra/Coeff

MatrixPolynomialAlgebra[Coeff] - extract a coefficient of a matrix of polynomials

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:

A:=3+x,4,x21|1,x,4|4,2,1

A:=3+x144x2x2141

(1)

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

314402141,100010000,000000100

(2)

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

100402141,000010000

(3)

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

114002041,000010100

(4)

See Also

Matrix, MatrixPolynomialAlgebra, MatrixPolynomialAlgebra[Lcoeff], seq


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam