>> logicalIndexingBenchmark
Time needed to manually filter elements smaller than 0.5 in a vector of length 100000
Elapsed time is 0.008562 seconds.

Time needed to do the same with logical indexing
Elapsed time is 0.001543 seconds.