sparseMatrix-class
From Matrix v0.99-3
by Douglas Bates
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.
Examples
showClass("sparseMatrix") ## and look at the help() of its subclasses
Community examples
Looks like there are no examples yet.