On 1 August 2012 at 17:41, Douglas Bates wrote:
| I don't really think that bounds checking is slowing down this
| calculation. You can make the whole thing run faster by the simple
| expedient of reordering the loops. For me, this version
|
| STLvectortest<-'
| const NumericMatrix X = Rcpp::as
I don't really think that bounds checking is slowing down this
calculation. You can make the whole thing run faster by the simple
expedient of reordering the loops. For me, this version
STLvectortest<-'
const NumericMatrix X = Rcpp::as(mat);
int p = X.nrow();
std::vector V(p*p);
// Copy data in
I'll see if I can dig up the old benchmarks I wrote looking at it; I'm
pretty sure I tried using both the (i,j) and .at(i,j) methods for
accessing, but I'll have to double-check. In any case, it was pretty much
the same sort of test as the code in my initial email - looping over a
moderate sized ma
On 1 August 2012 at 16:05, Douglas Bates wrote:
| On Wed, Aug 1, 2012 at 12:46 PM, Andrew Slaughter
| wrote:
| > First of all, great job with Rcpp - it's an awesome tool, and finally gave
| > me a reason to go back to my C++ books and get beyond "Hello World"!
| >
| > I did have a question about
On Wed, Aug 1, 2012 at 12:46 PM, Andrew Slaughter
wrote:
> First of all, great job with Rcpp - it's an awesome tool, and finally gave
> me a reason to go back to my C++ books and get beyond "Hello World"!
>
> I did have a question about RcppEigen, though: specifically, when I use
> RcppEigen throu
I've got the whole thing working with MPI, after playing aroud the makefile and
the include order (I'm using many different libraries RInside, Cassandra,
Mongo, CBC...).
Thank you for the include MPI examples and the makefile.
David Ibarra Gomez
De: Andreas Alfons [andreas.alf...@kuleuven.be]
First of all, great job with Rcpp - it's an awesome tool, and finally
gave me a reason to go back to my C++ books and get beyond "Hello World"!
I did have a question about RcppEigen, though: specifically, when I use
RcppEigen through inline, is bounds checking disabled? If not, how could I
go abou
I used Rcpp with OpenMP in one of my packages (the new version is not
on CRAN yet, only on github), so I can help with putting together an
example. I'm at conferences this week and next week, though, so I'm a
bit constrained with time right now.
- Andreas
On Tue, Jul 31, 2012 at 5:00 AM, Dirk E