dbarrow257 / NuOscillator

3 stars 2 forks source link

Perform binary search when finding energy and cosineZ indices - it's now very speedy #35

Closed dbarrow257 closed 1 month ago

dbarrow257 commented 1 month ago

Pull request description:

Use stl functions to find energy and cosine zenith indices with binary search rather than brute force search

Changes or fixes:

Use stl functions for binary search

Examples: