dsparseMatrix-class function

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices

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

class

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

showClass("dsparseMatrix")
  • Maintainer: Martin Maechler
  • License: GPL (>= 2) | file LICENCE
  • Last published: 2025-03-11