Hacker News new | ask | show | jobs
by jdleesmiller 5042 days ago
I believe that's an example of 'logical indexing', which is a useful feature in many vector-oriented languages / packages:

http://blogs.mathworks.com/steve/2008/01/28/logical-indexing...