argmax

Function argmax 

Source
pub fn argmax<T>(a: &[T]) -> usize
where T: Bounded + PartialOrd + Copy,
Expand description

Returns the index of the maximum value of a.