pub struct ProximalMapping {
pub f: String,
pub lambda: f64,
}Expand description
Proximal mapping of a function f with parameter λ > 0.
Fields§
§f: StringName or formula of the function f.
lambda: f64Regularisation parameter λ > 0.
Implementations§
Source§impl ProximalMapping
impl ProximalMapping
Sourcepub fn prox_point(&self) -> String
pub fn prox_point(&self) -> String
Compute the proximal point (conceptually): prox_{λf}(x) = argmin_y {f(y) + |y-x|²/(2λ)}.
Sourcepub fn firm_nonexpansive(&self) -> String
pub fn firm_nonexpansive(&self) -> String
Firm nonexpansiveness of the proximal mapping.
Auto Trait Implementations§
impl Freeze for ProximalMapping
impl RefUnwindSafe for ProximalMapping
impl Send for ProximalMapping
impl Sync for ProximalMapping
impl Unpin for ProximalMapping
impl UnsafeUnpin for ProximalMapping
impl UnwindSafe for ProximalMapping
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more