Overwrite a subpart of a polynomial matrix
Returns a polynomial matrix in which the given element are changed to the new given elements.
## S3 method for class 'polyMatrix' set(pm, i, j, m, byrow=FALSE)
pm |
a |
i |
the vector of row |
j |
the vector of column indexes |
m |
the list of |
byrow |
logical. If FALSE (the default) the |
A polynomial matrix with the over written elements.
rawData <- ch2pn(c("-3+x^3","2+4*x","x^2","1","2","3+x","2*x","0","2-3*x"))
pM <- polyMgen.d(3, 3, rawData=rawData)
pM
set(pM, 1:2, 1:2, ch2pn(c("3","4","x","x^2")))
pM
# clean up
# rm(pM)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.