[Rcpp-devel] RcppEigen: Avoiding accessing elements with coeff(i, j) in sparse matrix

Søren Højsgaard sorenh at math.aau.dk
Mon Mar 31 12:51:00 CEST 2014


I am writing this up for the gallery. I can't get output generated with "std::cout << ... <<" to appear on the resulting html file. Is that possible or must I do something else?
Cheers
Søren

-----Original Message-----
From: Dirk Eddelbuettel [mailto:edd at debian.org] 
Sent: 25. marts 2014 17:10
To: Søren Højsgaard
Cc: Douglas Bates; rcpp-devel at lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] RcppEigen: Avoiding accessing elements with coeff(i, j) in sparse matrix


On 25 March 2014 at 16:05, Søren Højsgaard wrote:
| Doug: Thanks a lot; I see the logic now! For my specific application 
| the second argument is a sparse vector, but that modification should 
| be straight forward with more iterators (and they are definitely sorted).
| 
|  
| 
| To the list: Does it have enough general interest to justify writing 
| it up for the gallery?

Yes please!

Dirk (who is happy he didn't even have to ask for it :)

--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list