Function find_index
Source pub fn find_index<F: Float>(sortedarray: &[F], value: F) -> usize
Expand description
Find the index in a sorted array where the given value would be inserted
§Arguments
sorted_array - Sorted array
value - Value to look for
§Returns
The index where value would be inserted to keep the array sorted