Skip to main content

argmax

Function argmax 

Source
pub fn argmax(x: &[f32]) -> usize
Expand description

The index of x’s largest element, the first of equals (the two zeros equal), a NaN passed over; 0 when there is none. Lanes each keeping their first largest and folded to the larger, the lower index of equals, agree with it in any order.