| dgCMatrix-class {Matrix} | R Documentation |
The dgCMatrix class is a class of sparse numeric
matrices in the compressed, sparse, column-oriented format. In this
implementation the non-zero elements in the columns are sorted into
increasing row order.
Objects can be created by calls of the form new("dgCMatrix", ...).
p:"integer" of pointers, one
for each column, to the initial (zero-based) index of elements in
the column.i:"integer" of length nnzero
(number of non-zero elements). These are the row numbers for
each non-zero element in the matrix.x:"numeric" - the non-zero
elements of the matrix.nrow:"integer" - the number of
rows in the matrix.signature(from = "matrix", to = "dgCMatrix")signature(from = "dgCMatrix", to = "matrix")signature(from = "dgCMatrix", to = "dgBCMatrix")signature(from = "dgCMatrix", to = "dgTMatrix")signature(x = "dgCMatrix", y = "missing")
returns t(x) %*% x as an dsCMatrix object.signature(x = "dgCMatrix", y = "matrix"): ... signature(x = "dgCMatrix", y = "numeric"): ... signature(x = "dgCMatrix"): returns the diagonal
of xsignature(x = "dgCMatrix"): returns the dimensions
of xsignature(x = "dgCMatrix"): plots an image of
x using the levelplot function
dsCMatrix-class, dtCMatrix-class