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/diffuStats documentation built on Feb. 26, 2021, 2 p.m.