Function rdp_w
Source pub fn rdp_w(
points: &[(f64, f64)],
epsilon: f64,
weights: &[f64],
) -> Vec<(f64, f64)>
Expand description
rdp() with per-vertex multipliers: the deviation at points[i] stays
≤ epsilon * weights[i].
§Panics
Panics if points.len() != weights.len().