dMatrix-class {Matrix} | R Documentation |
The dMatrix
class is a virtual class contained by all actual
classes of numeric matrices in the Matrix package. Similarly,
all the actual classes of logical matrices inherit from the
lMatrix
class.
Common to all matrix object in the package:
Dim
:"integer"
- the dimensions
of the matrix - must be an integer vector with exactly two
non-negative values.Dimnames
:character
vector length
equal the corresponding Dim
element.
There are (very simplistic) group methods (see, e.g., Arith
)
signature(e1 = "dMatrix", e2 = "dMatrix")
: ... signature(e1 = "dMatrix", e2 = "numeric")
: ... signature(e1 = "numeric", e2 = "dMatrix")
: ... signature(x = "dMatrix")
: ... signature(x = "dMatrix", digits = "numeric")
: ...
The classes dgeMatrix
,
dgCMatrix
, and Matrix
.
showClass("dMatrix")