CsparseMatrix-class {Matrix}R Documentation

Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form

Description

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.

Slots

i:
Object of class "integer" of length nnzero (number of non-zero elements). These are the row numbers for each non-zero element in the matrix.
p:
Object of class "integer" of pointers, one for each column, to the initial (zero-based) index of elements in the column.
factors, Dim, Dimnames:
inherited from the superclass, see the sparseMatrix class.

Extends

Class "sparseMatrix", directly. Class "Matrix", by class "sparseMatrix".

Methods

crossprod
signature(x = "CsparseMatrix", y = "missing"): ...
t
signature(x = "CsparseMatrix"): ...
tcrossprod
signature(x = "CsparseMatrix", y = "missing"): ...
%*%
signature(x = "CsparseMatrix", y = "CsparseMatrix"): ...
%*%
signature(x = "CsparseMatrix", y = "denseMatrix"): ...

See Also

its superclass, sparseMatrix, and, e.g., class dgCMatrix for the links to other classes.

Examples

showClass("CsparseMatrix")

[Package Matrix version 0.995-11 Index]