[Rcpp-devel] Pointer to Rcpp::NumericMatrix

c s conradsand.arma at gmail.com
Wed May 30 06:07:09 CEST 2012

On Tue, May 29, 2012 at 9:43 PM, Dirk Eddelbuettel <edd at debian.org> 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:



More information about the Rcpp-devel mailing list