Learn R Programming

Matrix (version 1.7-1)

dsparseMatrix-class: Virtual Class "dsparseMatrix" of Numeric Sparse Matrices

Description

The Class "dsparseMatrix" is the virtual (super) class of all numeric sparse matrices.

Arguments

Slots

Dim:

the matrix dimension, see class "Matrix".

Dimnames:

see the "Matrix" class.

x:

a numeric vector containing the (non-zero) matrix entries.

Extends

Class "dMatrix" and "sparseMatrix", directly.
Class "Matrix", by the above classes.

See Also

the documentation of the (non virtual) sub classes, see showClass("dsparseMatrix"); in particular, dgTMatrix, dgCMatrix, and dgRMatrix.

Examples

Run this code
showClass("dsparseMatrix")

Run the code above in your browser using DataLab