MatrixPolynomialAlgebra
Coeff
extract a coefficient of a matrix of polynomials
Calling Sequence
Parameters
Description
Examples
Coeff(A, x, n)
Coeff[row](A, x, vn)
Coeff[column](A, x, vn)
A
-
Matrix
x
name; specify the variable in which the entries of A are rational polynomials over Q
n
integer
vn
list of integers
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.
with⁡MatrixPolynomialAlgebra:
A≔3+x,4,x2−1|1,x,4|−4,2,−1
A≔3+x1−44x2x2−14−1
seq⁡Coeff⁡A,x,i,i=0..2
31−4402−14−1,100010000,000000100
seq⁡Coeffrow⁡A,x,i+1,i,i,i=0..1
100402−14−1,000010000
seq⁡Coeffcolumn⁡A,x,i+1,i,i,i=0..1
11−400204−1,000010100
See Also
MatrixPolynomialAlgebra[Lcoeff]
seq
Download Help Document