
Last chance! 50% off unlimited learning
Sale ends in
dsRMatrix
class is a class of symmetric, sparse
matrices in the compressed, row-oriented format. In this
implementation the non-zero elements in the rows are sorted into
increasing row order. Objects can be created by calls of the form new("dsRMatrix", ...)
or new("dtRMatrix", ...)
.
"dgRMatrix"
, directly.
Class "dsparseMatrix"
, by class "dgRMatrix"
.
Class "dMatrix"
, by class "dgRMatrix"
.
Class "sparseMatrix"
, by class "dgRMatrix"
.
Class "Matrix"
, by class "dgRMatrix"
.
Class "Matrix"
, by class "dgRMatrix"
."dsRMatrix"
in the signature.dgCMatrix
,
dgTMatrix
, and dgeMatrix
.m0 <- new("dsRMatrix")
## FIXME: print() fails
m2 <- new("dsRMatrix", x = 0+1:4, Dim = as.integer(c(2,2)))
## FIXME: print() fails
str(m2)
if(FALSE)## FIXME
str(m3 <- as(Matrix(diag(2)), "dsRMatrix"))
Run the code above in your browser using DataLab