pub fn apply_threshold( coeffs: &[f64], threshold: f64, method: ThresholdMethod, ) -> Vec<f64>
Apply threshold to coefficients