pub fn imai_iri_w(
points: &[(f64, f64)],
epsilon: f64,
weights: &[f64],
) -> Vec<(f64, f64)>Expand description
imai_iri() with per-vertex multipliers: the deviation at points[i]
stays ≤ epsilon * weights[i]. Above II_MAX points the RDP prefilter
composes per point, so that bound is exact only where weights is locally
~constant across a prefilter shortcut (a negligible caveat for weights
sampled from a coarse grid through a smooth map); the global
epsilon * max(weights) bound always holds.
§Panics
Panics if points.len() != weights.len().