来源:https://stackoverflow.com/questions/34550395/rcpp-rcpparmadillo-removing-non-contiguous-elements-from-a-vector-based-on-posi 标签 r vector rcpp