Skip to content
Prev 4036 / 10988 Next

[Rcpp-devel] Very Large Matrices in RcppArmillao

On Tue, Jul 17, 2012 at 12:50 AM, Christian Gunning
<icos.atropa at gmail.com> wrote:
Yes, at the expense of R's "inherently safe" pass-by-value semantics.
 Armadillo allows pass-by-reference semantics with advanced
 constructors.  Just be aware of the risks...

 http://arma.sourceforge.net/docs.html#Mat -- you'll want copy_aux_mem = false.

 There's a good thread on this here:
 http://thread.gmane.org/gmane.comp.lang.r.rcpp/2717/focus=2722

 -Christian
<sent to list via wrong email address>
 --
 A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal ? Panama!
Message-ID: <CADNH-PvLCr0wBVq9W_csiE0XjqpoZGVOP8sGtH3yBPNw7AsxVg@mail.gmail.com>
In-Reply-To: <CADNH-Pu0TNrR9i1bCfA-t5+sp3ZM90kHerxAfG4o4LgwvtT6-Q@mail.gmail.com>