Function rgsl::statistics::min[][src]

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

This function returns 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.

If you want instead to find the element with the smallest absolute magnitude you will need to apply fabs or abs to your data before calling this function.