pub fn project_linf(perturbation: &[f64], epsilon: f64) -> Vec<f64>
Project perturbation onto the L∞ ball of radius epsilon.
perturbation
epsilon
Each component is clamped independently to [−ε, ε].