polyMatrix object consistency check
Checks the consistency of a polyMatrix object.
In the polyMatrix there are four different but equivalent
storing methods of polynomial matrices.
pMstr(pm)
pm |
a polynomial matrix |
A logical value of the consistency of the given polynomial object. In case of inconsistency an information about the errors.
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.