armacmp icon indicating copy to clipboard operation
armacmp copied to clipboard

Support X[i, ] and X[,j] syntax for subviews

Open dirkschumacher opened this issue 4 years ago • 1 comments

http://arma.sourceforge.net/docs.html#submat

dirkschumacher avatar Aug 10 '19 20:08 dirkschumacher

How about also handling boolean logic?

X[X[, 1] >=2, ] 
arma::mat y = X.rows(find(X.col(0) >= 2));

coatless avatar Aug 11 '19 20:08 coatless