[Rcpp-devel] Convert R matrix to boost ublas?

Charles Determan cdetermanjr at gmail.com
Tue May 26 22:32:13 CEST 2015


I have seen in the archives a discussion of converting a boost ublas matrix
to Rcpp (
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-June/002402.html)
but I didn't see anything about passing an R matrix in to a ublas object.
There doesn't appear to be an 'as' method for it (unless I have somehow
overlooked it).  Any recommendations on efficiently getting an R matrix in
to a boost ublas matrix?

Regards,
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150526/9c253899/attachment.html>


More information about the Rcpp-devel mailing list