borsar.utils.
find_range
Find specified ranges in an ordered vector and return them as slices.
Vector of sorted values.
Ranges or range to be found.
Slices representing the ranges. If one range was passed the output is a slice. If two or more ranges were passed the output is a list of slices.