Re: [Rcpp-devel] Strange behaviro using Rcpp sugar with NumericMatrix

2017-03-15 Thread Roland Denis
Ok, thanks, I will take a look at the Armardillo and Eigen wrappers ! -- Roland Le 15/03/2017 à 15:13, Dirk Eddelbuettel a écrit : On 15 March 2017 at 14:17, Roland Denis wrote: | Hello, | | while comparing the performance between pure R and different other | syntaxes that mix R and Rcpp, I fo

Re: [Rcpp-devel] Strange behaviro using Rcpp sugar with NumericMatrix

2017-03-15 Thread Dirk Eddelbuettel
On 15 March 2017 at 14:17, Roland Denis wrote: | Hello, | | while comparing the performance between pure R and different other | syntaxes that mix R and Rcpp, I found out a strange behavior when using | Rcpp sugar on NumericMatrix. As far as I understand Rcpp (I'm a newbie | in R and Rcpp), sy

[Rcpp-devel] Strange behaviro using Rcpp sugar with NumericMatrix

2017-03-15 Thread Roland Denis
Hello, while comparing the performance between pure R and different other syntaxes that mix R and Rcpp, I found out a strange behavior when using Rcpp sugar on NumericMatrix. As far as I understand Rcpp (I'm a newbie in R and Rcpp), syntactic sugar is designed for NumericVector, but since Num