pub fn left_end_point( a: f64, b: f64, f: impl Fn(f64) -> f64 + Send + Sync + Copy, partition_count: usize, ) -> f64