Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pMsub

A submatrix of a polynomial matrix


Description

Retains or delets the i-th rows and the j-th column, depending of the sign of these indices.

Usage

pMsub(pm, i, j)

Arguments

pm

a polynomial matrix

i

the number of rows to retain or delete

j

the number of columns to retain or delete

Details

If the row or column number is NULL, that means all elements from the given columns or rows respectively. If j is not given, that means a symmetric submatrix.

Value

A polynomial matrix which is a submatrix of the given matrix in ‘polyMdlist’ format.

See Also

Examples

A <- polyMgen.a(3,4,1:24,degree=1)
A
pMsub(A, 2, 3)
pMsub(A, 1,NULL)
pMsub(A, NULL, 3)
pMsub(A, 1:2, 2:4)
pMsub(A, -3, 2:5)
pMsub(A, 1:2)

# clean up
# rm(A)

polyMatrix

Infrastructure for Manipulation Polynomial Matrices

v0.3.1
MIT + file LICENSE
Authors
Tamas Prohle [aut], Peter Prohle [aut], Nikolai Ryzhkov [aut, cre], Ildiko Laszlo [aut] (<https://orcid.org/0000-0003-2324-8183>), Ulas Onat Alakent [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.