pub fn project_l1(perturbation: &[f64], epsilon: f64) -> Vec<f64>
Project perturbation onto the L1 ball of radius epsilon.
perturbation
epsilon
Uses the classic Duchi et al. (2008) algorithm via sorting of absolute values.