Skip to main content

argmax

Function argmax 

Source
pub fn argmax(values: &[f64]) -> Option<usize>
Expand description

The index of the largest value (first on ties); None if empty or all NaN.