[Rcpp-devel] RcppArmadillo matrix with writeable auxiliary memory

szehnder at uni-bonn.de szehnder at uni-bonn.de
Tue Nov 26 12:19:39 CET 2013


If you want to use a variable being an arma::mat obejct with varying memory, you could use an arma::mat pointer. Otherwise if memory stays the same but should be reusable in R, Dirk's suggestion initialising memory in R and passing it to C++ is the most practicable way and very fast. 

Gesendet über den BlackBerry® Service von E-Plus.

-----Original Message-----
From: Steven Varga <steven.varga at gmail.com>
Sender: rcpp-devel-bounces at lists.r-forge.r-project.orgDate: Mon, 25 Nov 2013 23:23:24 
To: <rcpp-devel at lists.r-forge.r-project.org>
Reply-To: steven.varga at gmail.com
Subject: Re: [Rcpp-devel] RcppArmadillo matrix with writeable auxiliary

Rcpp-devel mailing list
Rcpp-devel at lists.r-forge.r-project.org

More information about the Rcpp-devel mailing list