Skip to main content

ProxableFunction

Trait ProxableFunction 

Source
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.

Required Methods§

Source

fn prox(&self, v: &[f64], t: f64) -> Vec<f64>

prox_{t·self}(v) = argmin_x { self(x) + 1/(2t) ‖x-v‖² }.

Implementors§