[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 13:22:09 CEST 2014


And the obvious answer is to use Rcout <<... << std::endl;
Sorry !
Søren!

-----Original Message-----
From: rcpp-devel-bounces at lists.r-forge.r-project.org [mailto:rcpp-devel-bounces at lists.r-forge.r-project.org] On Behalf Of Søren Højsgaard
Sent: 31. marts 2014 12:51
To: Dirk Eddelbuettel
Cc: rcpp-devel at lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] RcppEigen: Avoiding accessing elements with coeff(i, j) in sparse matrix

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
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


More information about the Rcpp-devel mailing list