How to remove specific rows of an array?

If you just need Ind for indexing into A, then using a view is faster:

A = rand(1:10, 12,3)
Ind = @view(A[:,1]) .< 5
A[.!Ind, :]
2 Likes