[Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

Binxiang Ni binxiangni at gmail.com
Tue Jun 13 17:55:40 CEST 2017


Hi,

I am working on fixing sparse matrix conversion for RcppArmadillo. Now a
problem comes up to me: what kind of sparse matrix is expected to pass from
Armadillo to R? That is, what should the result of wrap() be? dgCMatrix(if
logical, lgCMatrix or ngCMatrix)  or their original type?

If you are familiar with sparse matrix, please do me a favor.

Best,
Binxiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20170613/f8af1e7d/attachment.html>


More information about the Rcpp-devel mailing list