[Rcpp-devel] Negative indexing in Rcpp
edd at debian.org
Mon Apr 1 23:49:44 CEST 2013
On 1 April 2013 at 17:41, Tiago Fragoso wrote:
| 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)?
Armadillo allows you to subset via vector expressions.
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel