max_index_and_value

Function max_index_and_value 

Source
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.