Function quantile
Source pub fn quantile(arr: &Array1<f32>, q: f64) -> f32
Expand description
Compute the k-th quantile of a 1D array using linear interpolation.
§Arguments
arr - Input array (will be sorted)
q - Quantile to compute (between 0.0 and 1.0)
§Returns
The quantile value