Thanks Barh. I'll check that out.

On Sun, Dec 9, 2018 at 4:03 AM Barth Riley <barthri...@comcast.net> wrote:

> Dear Mark
>
>
>
> Regarding your second question, the STL has a function called
> partial_sum() which can be used to compute the cumulative sum. Go to the
> following URL for details:
>
>
>
> http://gallery.rcpp.org/articles/vector-cumulative-sum/
>
>
>
> Barth
>
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to