Hello,

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

A[,-c(1,5,10)]

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

Best regards,

Tiago
_______________________________________________
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