pub fn argmax<T: Num + Bounded + PartialOrd>(
iter: impl Iterator<Item = T>,
) -> Option<u32>
Expand description
Argmax on a PrimitiveArray.
Returns the index of the max value in the array.
pub fn argmax<T: Num + Bounded + PartialOrd>(
iter: impl Iterator<Item = T>,
) -> Option<u32>
Argmax on a PrimitiveArray.
Returns the index of the max value in the array.