<div dir="ltr">Hello,<div><br></div><div style>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 </div><div style><br></div><div style>A[,-c(1,5,10)]</div>

<div style><br></div><div style>Is there a convenient way to do it in Rcpp (or using Armadillo objects)?</div><div style><br></div><div style>Best regards, </div><div style><br></div><div style>Tiago</div></div>