Compressed, sparse, column-oriented numeric matrices

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.

classes, algebra
Objects from the Class

Objects can be created by calls of the form new("dgCMatrix", ...) or often more easily via Matrix(*, sparse = TRUE).

See Also

dsCMatrix-class, dtCMatrix-class

  • dgCMatrix-class
  • %*%,dgCMatrix,dgeMatrix-method
  • %*%,dgCMatrix,matrix-method
  • %*%,dgeMatrix,dgCMatrix-method
  • %*%,matrix,dgCMatrix-method
  • coerce,matrix,dgCMatrix-method
  • coerce,dgeMatrix,dgCMatrix-method
  • coerce,dgCMatrix,dgTMatrix-method
  • coerce,dgCMatrix,dgBCMatrix-method
  • coerce,dgCMatrix,lgCMatrix-method
  • coerce,dgCMatrix,matrix-method
  • coerce,dgCMatrix,dgeMatrix-method
  • crossprod,dgCMatrix,missing-method
  • crossprod,dgCMatrix,matrix-method
  • crossprod,dgCMatrix,dgeMatrix-method
  • diag,dgCMatrix-method
  • dim,dgCMatrix-method
  • image,dgCMatrix-method
  • t,dgCMatrix-method
  • Arith,numeric,dgCMatrix-method
  • Arith,dgCMatrix,numeric-method
  • Math,dgCMatrix-method
  • round,dgCMatrix,numeric-method
  • signif,dgCMatrix,numeric-method
  • log,dgCMatrix-method
  • gamma,dgCMatrix-method
  • lgamma,dgCMatrix-method
(m <- Matrix(c(0,0,2:0), 3,5))
Documentation reproduced from package Matrix, version 0.99-3, License: GPL version 2 or later. This R package includes code from the Metis package and from NIST. This code is covered by separate copyrights; see the file Copyrights for details. This R package includes code from the University of Florida sparse matrix library maintained by Tim Davis. All sections of that code are covered by the GPL or LGPL licenses. See the directory UFsparse for details.

Community examples

Looks like there are no examples yet.