sparseMatrix-class

0th

Percentile

Virtual Class "sparseMatrix" --- Mother of Sparse Matrices

Virtual Mother Class of All Sparse Matrices

Keywords
classes
Note

In method selection for multiplication operations (i.e. %*% and the two-argument form of crossprod) the sparseMatrix class takes precedence in the sense that if one operand is a sparse matrix and the other is any type of dense matrix then the dense matrix is coerced to a dgeMatrix and the appropriate sparse matrix method is used.

Extends

Class "Matrix", directly.

Aliases
  • sparseMatrix-class
  • -,sparseMatrix,missing-method
  • show,sparseMatrix-method
  • coerce,graph,sparseMatrix-method
  • coerce,graphNEL,sparseMatrix-method
  • coerce,sparseMatrix,graph-method
  • coerce,sparseMatrix,graphNEL-method
  • coerce,dgTMatrix,graphNEL-method
Examples
showClass("sparseMatrix") ## and look at the help() of its subclasses
Documentation reproduced from package Matrix, version 0.99-3, License: GPL version 2 or later. This R package includes code from the Metis package and from NIST. This code is covered by separate copyrights; see the file Copyrights for details. This R package includes code from the University of Florida sparse matrix library maintained by Tim Davis. All sections of that code are covered by the GPL or LGPL licenses. See the directory UFsparse for details.

Community examples

Looks like there are no examples yet.