dgeMatrix-class {Matrix} | R Documentation |
A general numeric dense matrix in the S4 Matrix
representation. dgeMatrix
is the “standard”
class for dense numeric matrices in the Matrix package.
Objects can be created by calls of the form new("dgeMatrix", ...)
or, more commonly, by coercion from the Matrix
class (see
Matrix) or by Matrix(..)
.
x
:Object of class "numeric"
- the numeric
values contained in the matrix, in column-major order.
Dim
:Object of class "integer"
- the dimensions
of the matrix - must be an integer vector with exactly two
non-negative values.
Dimnames
:a list of length two - inherited from class
Matrix
.
factors
:Object of class "list"
- a list
of factorizations of the matrix.
The are group methods (see, e.g., Arith
)
signature(e1 = "dgeMatrix", e2 = "dgeMatrix")
: ...
signature(e1 = "dgeMatrix", e2 = "numeric")
: ...
signature(e1 = "numeric", e2 = "dgeMatrix")
: ...
signature(x = "dgeMatrix")
: ...
signature(x = "dgeMatrix", digits = "numeric")
: ...
and other matrix methods available:
signature(x = "dgeMatrix", y = "dgeMatrix")
:
Matrix multiplication; ditto for several other signature
combinations, see showMethods("%*%", class = "dgeMatrix")
.
signature(x = "dgeMatrix", vectors = "logical")
: ...
signature(x = "dgeMatrix", vectors = "missing")
: ...
signature(x = "dgeMatrix")
: see chol
.
signature(from = "dgeMatrix", to = "lgeMatrix")
: ...
signature(from = "dgeMatrix", to = "matrix")
: ...
signature(from = "matrix", to = "dgeMatrix")
: ...
signature(x = "dgeMatrix")
: columnwise means (averages)
signature(x = "dgeMatrix")
: columnwise sums
signature(x = "dgeMatrix", y = "dgeMatrix")
:
ditto for several other signatures, use
showMethods("crossprod", class = "dgeMatrix")
, matrix
crossproduct, an efficient version of t(x) %*% y
.
signature(x = "dgeMatrix")
: ...
signature(x = "dgeMatrix")
: ...
signature(x = "dgeMatrix")
: ...
signature(x = "dgeMatrix", only.values= "logical")
: ...
signature(x = "dgeMatrix", only.values= "missing")
: ...
signature(x = "dgeMatrix", type = "character")
: ...
signature(x = "dgeMatrix", type = "missing")
: ...
signature(x = "dgeMatrix", norm = "character")
: ...
signature(x = "dgeMatrix", norm = "missing")
: ...
signature(x = "dgeMatrix")
: rowwise means (averages)
signature(x = "dgeMatrix")
: rowwise sums
signature(a = "dgeMatrix", b = "dgeMatrix")
: ...
signature(a = "dgeMatrix", b = "missing")
: ...
signature(x = "dgeMatrix")
: ...
Classes Matrix
,
dtrMatrix
, and dsyMatrix
.