Re: [Rcpp-devel] Eigen::RowMajor

2012-01-18 Thread romain
Le 18 janv. 2012 à 00:27, Douglas Bates a écrit : > On Tue, Jan 17, 2012 at 4:51 PM, Jelmer Ypma wrote: >> Hi all, > >> I've been trying some examples using the RcppEigen package, which at >> first sight seems to work great. However, I ran into something that I >> don't completely understand.

Re: [Rcpp-devel] Eigen::RowMajor

2012-01-17 Thread Douglas Bates
On Tue, Jan 17, 2012 at 4:51 PM, Jelmer Ypma wrote: > Hi all, > I've been trying some examples using the RcppEigen package, which at > first sight seems to work great. However, I ran into something that I > don't completely understand. Adapting from > /pkg/RcppEigen/inst/unitTests/runit.sparse.R,

[Rcpp-devel] Eigen::RowMajor

2012-01-17 Thread Jelmer Ypma
Hi all, I've been trying some examples using the RcppEigen package, which at first sight seems to work great. However, I ran into something that I don't completely understand. Adapting from /pkg/RcppEigen/inst/unitTests/runit.sparse.R, I tried the code below, where I use Eigen::RowMajor storage in