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.
dgCMatrix is the
“standard” class for sparse numeric matrices in the
Objects can be created by calls of the form
...), more typically via
as(*, "CsparseMatrix") or similar.
Often however, more easily via
Matrix(*, sparse = TRUE),
or most efficiently via
Object of class
"numeric" - the non-zero
elements of the matrix.
all other slots are inherited from the superclass
Matrix products (e.g., crossprod-methods), and (among other)
signature(from = "matrix", to = "dgCMatrix")
signature(from = "dgCMatrix", to = "matrix")
signature(from = "dgCMatrix", to = "dgTMatrix")
signature(x = "dgCMatrix"): returns the diagonal
signature(x = "dgCMatrix"): returns the dimensions
signature(x = "dgCMatrix"): plots an image of
x using the
signature(a = "dgCMatrix", b = "..."):
solve-methods, notably the extra argument
signature(x = "dgCMatrix"): computes the LU
decomposition of a square
(m <- Matrix(c(0,0,2:0), 3,5)) str(m) m[,1]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.