Skip to main content

argmax

Function argmax 

Source
pub fn argmax<T: PartialOrd>(v: &[T]) -> Option<usize>
Expand description

Find the index of the maximum element.