On Tue, May 29, 2012 at 9:43 PM, Dirk Eddelbuettel <[email protected]> wrote: > You could look at examples/ConvolveBenchmarks where (for the vector case) a > number of different access mechanisms are compared and times, including > iterators as well as fallbacks to pointers. > > If it helps, RcppArmadillo and RcppEigen have proper (as in: linear algebra) > matrix types too.
Armadillo allows both direct memory access as well as element access via iterators: http://arma.sourceforge.net/docs.html#memptr http://arma.sourceforge.net/docs.html#iterators_mat _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
