fastsim_core::utils

Function first_eq

Source
pub fn first_eq(arr: &[f64], cut: f64) -> Option<usize>
Expand description

Return first index of arr equal to cut