[Rcpp-devel] Negative indexing in Rcpp

Tiago Fragoso fragoso2718 at gmail.com
Mon Apr 1 22:41:02 CEST 2013


Say I have a 10x10 matrix A. If I want to access everything remaining after
I delete columns 1, 5 and 10, all I have to do is


Is there a convenient way to do it in Rcpp (or using Armadillo objects)?

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130401/a1818ef5/attachment.html>

More information about the Rcpp-devel mailing list