Skip to content
Back to formatted view

Raw Message

Message-ID: <50C044E7.4020607@dcook.org>
Date: 2012-12-06T07:10:31Z
From: Darren Cook
Subject: [Rcpp-devel] How to increase the coding efficiency
In-Reply-To: <CAC+N9BWGRM-wxJ7jZnTD5z-k_vc2745MVB8iNof3=ohCSL76SQ@mail.gmail.com>

> 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


-- 
Darren Cook, Software Researcher/Developer

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