CsparseMatrix-class {Matrix} | R Documentation |
The "CsparseMatrix"
class is the virtual class of
all sparse matrices coded in sorted compressed column-oriented form.
Since it is a virtual class, no objects may be created from it. See
showClass("CsparseMatrix")
for its subclasses.
i
:"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 column, to the initial (zero-based) index of elements in
the column.factors
, Dim
, Dimnames
:sparseMatrix
class.
Class "sparseMatrix"
, directly.
Class "Matrix"
, by class "sparseMatrix"
.
signature(x = "CsparseMatrix", y = "missing")
: ... signature(x = "CsparseMatrix")
: ... signature(x = "CsparseMatrix", y = "missing")
: ... signature(x = "CsparseMatrix", y =
"CsparseMatrix")
: ...signature(x = "CsparseMatrix", y = "denseMatrix")
: ...
its superclass, sparseMatrix
, and, e.g.,
class dgCMatrix
for the links to other classes.
showClass("CsparseMatrix")