This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/programming/code/logicalIndexingBenchmark.out

6 lines
231 B
Plaintext

>> 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.