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

pMstr

polyMatrix object consistency check


Description

Checks the consistency of a polyMatrix object. In the polyMatrix there are four different but equivalent storing methods of polynomial matrices.

Usage

pMstr(pm)

Arguments

pm

a polynomial matrix

Value

A logical value of the consistency of the given polynomial object. In case of inconsistency an information about the errors.

See Also

Examples

A <- polyMgen.a(2,3,5)
B <- polyMconvert(A,"polyMdlist")

# pMstr(B)$cns

## class of elements: polynomial
# B[[1]][[1]]<-1
# str(B)
# (pMstr(B))

## class of sublists: list
# B[[1]]<-1:length(B[[1]])
# str(B)
# pMstr(B)

# absence of an element
# B[[1]]<-as.list(B[[1]][-1])
# str(B)
# pMstr(B)[[3]]

# clean up
# rm(A, B)

 # % end of donttest

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.