Learn R Programming

Matrix (version 1.2-8)

RsparseMatrix-class: Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form

Description

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.

Arguments

Slots

Extends

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

Methods

Only few methods are defined currently on purpose, since we rather use the CsparseMatrix in Matrix. Recently, more methods were added but beware that these typically do not return "RsparseMatrix" results, but rather Csparse* or Tsparse* ones.

See Also

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

Examples

Run this code
showClass("RsparseMatrix")

Run the code above in your browser using DataLab