pub fn max_index_and_value(vec: ArrayView1<'_, f32>) -> (usize, f32)Expand description
Given a vector of floats, yields the index and the value of the largest
float in vec.
pub fn max_index_and_value(vec: ArrayView1<'_, f32>) -> (usize, f32)Given a vector of floats, yields the index and the value of the largest
float in vec.