Not a question here, but a note. Earlier there was an email about filling
a NumericMatrix row by row.
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2013-March/005390.html
I noticed that for Rcpp 0.10.2 it was possible to fill a NumericMatrix with
NumericVectors, but since Rcpp 0.10.3
://arma.sourceforge.net/docs.html#each_colrow
For example:
mat X(4,5);
rowvec r(5);
X.each_row() = r;
(btw, in general it's more efficient to access matrices as columns
rather than rows).
On Wed, Mar 27, 2013 at 6:23 PM, Michael Love
michaelisaiahl...@gmail.com wrote:
As recommended, I have switched