Expand description
Quantile / order-statistic helpers.
These are single-sourced in the gam-math crate (the neutral numeric
layer shared by the sibling crates that consume them). This module
re-exports them so existing crate::util::quantile::* paths keep resolving
without a second, drift-prone copy of the definitions.
Functions§
- order_
statistic - Exact 1-based order statistic from an unsorted slice.
- order_
statistic_ from_ sorted - Exact 1-based order statistic from an already sorted slice.
- quantile_
from_ sorted - Linear-interpolation quantile matching numpy.quantile default (method=‘linear’).