Function rgsl::statistics::min_index[][src]

pub fn min_index(data: &[f64], stride: usize, n: usize) -> usize
Expand description

This function returns the index of the minimum value in data, a dataset of length n with stride stride. The minimum value is defined as the value of the element x_i which satisfies x_i >= x_j for all j. When there are several equal minimum elements then the first one is chosen.