armacmp
armacmp copied to clipboard
Support X[i, ] and X[,j] syntax for subviews
http://arma.sourceforge.net/docs.html#submat
How about also handling boolean logic?
X[X[, 1] >=2, ]
arma::mat y = X.rows(find(X.col(0) >= 2));