RsparseMatrix-class {Matrix} | R Documentation |
The "RsparseMatrix"
class is the virtual class of
all sparse matrices coded in sorted compressed row-oriented form.
Since it is a virtual class, no objects may be created from it. See
showClass("RsparseMatrix")
for its subclasses.
j
:"integer"
of length nnzero
(number of non-zero elements). These are the row numbers for
each non-zero element in the matrix.p
:"integer"
of pointers, one
for each row, to the initial (zero-based) index of elements in
the row.Dim
, Dimnames
:sparseMatrix
.
Class "sparseMatrix"
, directly.
Class "Matrix"
, by class "sparseMatrix"
.
NO methods are defined currently, since we rather use the
CsparseMatrix
in Matrix.
its superclass, sparseMatrix
, and, e.g., class
dgRMatrix
for the links to other classes.
showClass("RsparseMatrix")