pub fn compute_line_bounds( x: &Array1<f64>, direction: &Array1<f64>, bounds: Option<&Bounds>, ) -> (f64, f64)
Compute bounds for line search parameter