[Rcpp-devel] How to increase the coding efficiency

Darren Cook darren at dcook.org
Thu Dec 6 08:10:31 CET 2012

> this part will always make your code crawl along:

>>   arma::vec betahat = arma::inv(Inv)*arma::trans(D)*W*y;

I'd be very interested to see the before/after version of your code
code, Honglang. With timings. It'll make a good blog post or academic
paper (depending on just how many learnings you get from the process) :-)


Darren Cook, Software Researcher/Developer

http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)

More information about the Rcpp-devel mailing list