Function argmin_value_float

Source
pub fn argmin_value_float<T: Float>(
    iter: impl Iterator<Item = T>,
) -> Option<(u32, T)>
Expand description

Returns the minimal value (float) and the index (argmin) from an Iterator.

Return None if the iterator is empty or all are Nan/Inf.