TsparseMatrix-class {Matrix}R Documentation

Class "TsparseMatrix" of Sparse Matrices in Triplet Form

Description

The "TsparseMatrix" class is the virtual class of all sparse matrices coded in triplet form. Since it is a virtual class, no objects may be created from it. See showClass("TsparseMatrix") for its subclasses.

Slots

Dim, Dimnames:
from the "Matrix" class,
factors:
from class "sparseMatrix", see sparseMatrix.
i:
Object of class "integer" - the row indices of non-zero entries.
j:
Object of class "integer" - the column indices of non-zero entries. Must be the same length as slot i.

Extends

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

Methods

Extraction ("[") methods, see [-methods.

See Also

its superclass, sparseMatrix, and the dgTMatrix class, for the links to other classes.

Examples

showClass("TsparseMatrix")
## or just the subclasses' names
names(getClass("TsparseMatrix")@subclasses)

[Package Matrix version 0.995-11 Index]