pub fn argmax<T>(a: &[T]) -> usizewhere T: Bounded + PartialOrd + Copy,
Returns the index of the maximum value of a.
a