sparseMatrix-class {Matrix} | R Documentation |
Virtual Mother Class of All Sparse Matrices
Dim
:"integer"
- the dimensions
of the matrix - must be an integer vector with exactly two
non-negative values.Dimnames
:Matrix
, see Matrix
.factors
:"list"
- a list
of factorizations of the matrix.
Class "Matrix"
, directly.
signature(object = "sparseMatrix")
: The
show
method for sparse matrices prints
“structural” zeroes as "."
or blank.
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.
showClass("sparseMatrix") ## and look at the help() of its subclasses