convertSparse: S4 sparse matrix to arma::sp_mat

Description Usage Arguments Value Source

View source: R/RcppExports.R

Description

Convert an S4 sparse matrix from the Matrix package to an arma sp_mat.

Usage

1

Arguments

mat

S4 sparse matrix from the Matrix

Value

an arma::sp_mat object

Source

http://gallery.rcpp.org/articles/armadillo-sparse-matrix/


b2slab/diffusion documentation built on March 6, 2021, 2:38 a.m.