[Rcpp-devel] Easy way to subset a matrix
conradsand.arma at gmail.com
Wed Sep 21 08:08:13 CEST 2011
On Wed, Sep 21, 2011 at 4:00 PM, Noah Silverman <noahsilverman at ucla.edu> wrote:
> Nice suggestion, but it may not work for what I'm trying to do.
> I'm building up a matrix of values over a time series as part of a big loop.
> At certain iterations, I need to calculate some summary statistics on a few
> things. In R, it is trivial to subset any part of a matrix. Not sure to do
> that in Rcpp.
Try the running_stat_vec class:
More information about the Rcpp-devel