That was fast Dirk! I will update my packages on Monday! Thank you for that quick release!
Best Simon On Mar 2, 2013, at 4:56 PM, Dirk Eddelbuettel <e...@debian.org> wrote: > > On 3 March 2013 at 01:09, Conrad S wrote: > | Hi everyone, > | > | In Armadillo 3.800 I've added .imbue(), allowing a matrix to be filled > | using a functor or C++11 lambda expression. This allows the use of the > | Mersenne twister random number engine built into C++11. For example: > | > | std::mt19937 engine; > | std::uniform_real_distribution<double> distr(0.0, 1.0); > | > | arma::mat X(4,5); > | X.imbue( [&]() { return distr(engine); } ); > > Nice. I should time this / update the timing example on the Rcpp Gallery. > > | More information at: > | http://arma.sourceforge.net/docs.html#imbue > | > | Dirk is likely to release the corresponding RcppArmadillo version soon. > > (He did yesterday morning; it is now on CRAN. "They" had to deliberate for 20 > hours whether we would be allowed in having violated the 'no more than six > releases in six months' preference.) > > Dirk > > -- > Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel