as_dgCMatrix: Fast Coercion to Sparse Matrix

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Fast and efficient coercion of standard matrix objects to sparse matrices. Borrowed from http://gallery.rcpp.org/articles/sparse-matrix-coercion/. INTERNAL USE ONLY.

Usage

1

Arguments

XX_

An object of class Matrix that has a sparse structure suitable for coercion to a sparse matrix format of dgCMatrix.

Value

An object of class dgCMatrix, coerced from input XX_.


jeremyrcoyle/mangolassi documentation built on Dec. 2, 2019, 10:42 p.m.