pub trait ProxableFunction: ConvexFunction {
// Required method
fn prox(&self, v: &[f64], t: f64) -> Vec<f64>;
}Expand description
Trait for functions with a computable proximal operator.
pub trait ProxableFunction: ConvexFunction {
// Required method
fn prox(&self, v: &[f64], t: f64) -> Vec<f64>;
}Trait for functions with a computable proximal operator.