dgeMatrix-class {Matrix}R Documentation

General S4 Matrix class

Description

A general, numeric matrix in the S4 Matrix representation

Objects from the Class

Objects can be created by calls of the form new("dgeMatrix", ...) or, more commonly, by coercion from the Matrix class (see Matrix-class).

Slots

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, see Matrix-class.
rcond:
Object of class "numeric" - an estimate of the reciprocal of the condition number, if it has been computed at some point.
factors:
Object of class "list" - a list of factorizations of the matrix.

Methods

The are group methods (see, e.g., Arith)

Arith
signature(e1 = "dgeMatrix", e2 = "dgeMatrix"): ...
Arith
signature(e1 = "dgeMatrix", e2 = "numeric"): ...
Arith
signature(e1 = "numeric", e2 = "dgeMatrix"): ...
Math
signature(x = "dgeMatrix"): ...
Math2
signature(x = "dgeMatrix", digits = "numeric"): ...

and other matrix methods available:

%*%
signature(x = "dgeMatrix", y = "dgeMatrix"): Matrix multiplication; dito for several other signature combinations, see showMethods("%*%", class = "dgeMatrix").
Schur
signature(x = "dgeMatrix", vectors = "logical"): ...
Schur
signature(x = "dgeMatrix", vectors = "missing"): ...
chol
signature(x = "dgeMatrix"): works via "dpoMatrix", see dpoMatrix-class.
coerce
signature(from = "dgeMatrix", to = "matrix"): ...
coerce
signature(from = "matrix", to = "dgeMatrix"): ...
colMeans
signature(x = "dgeMatrix"): columnwise means (averages)
colSums
signature(x = "dgeMatrix"): columnwise sums
crossprod
signature(x = "dgeMatrix", y = "dgeMatrix"): ditto for several other signatures, use showMethods("crossprod", class = "dgeMatrix"), matrix crossproduct, an efficient version of t(x) %*% y.
diag
signature(x = "dgeMatrix"): ...
dim
signature(x = "dgeMatrix"): ...
dimnames
signature(x = "dgeMatrix"): ...
dimnames<-
signature(x = "dgeMatrix", value = "list"): ...
eigen
signature(x = "dgeMatrix", only.values= "logical"): ...
eigen
signature(x = "dgeMatrix", only.values= "missing"): ...
lu
signature(x = "dgeMatrix"): ...
norm
signature(x = "dgeMatrix", type = "character"): ...
norm
signature(x = "dgeMatrix", type = "missing"): ...
rcond
signature(x = "dgeMatrix", type = "character"): ...
rcond
signature(x = "dgeMatrix", type = "missing"): ...
rowMeans
signature(x = "dgeMatrix"): rowwise means (averages)
rowSums
signature(x = "dgeMatrix"): rowwise sums
solve
signature(a = "dgeMatrix", b = "dgeMatrix"): ...
solve
signature(a = "dgeMatrix", b = "missing"): ...
t
signature(x = "dgeMatrix"): ...

See Also

Matrix-class, dtrMatrix-class, dsyMatrix-class


[Package Matrix version 0.95-10 Index]