argmin

Function argmin 

Source
pub fn argmin<T: PartialOrd>(xs: &[T]) -> usize
Expand description

Returns the index of the smallest element in xs.

If there are multiple smallest elements, returns the index of the first.