pub fn argmax(values: &[f64]) -> Option<usize>
The index of the largest value (first on ties); None if empty or all NaN.
None