Skip to main content

quantile_with_scratch

Function quantile_with_scratch 

Source
fn quantile_with_scratch(
    values: &[f64],
    quantile: f64,
    scratch: &mut Vec<f64>,
) -> Option<f64>
Expand description

Same as quantile_impl but reuses a caller-provided scratch buffer to avoid per-call allocation.