pub struct ProxConfig {
pub lambda: f64,
pub max_iter: usize,
pub tol: f64,
pub step_size: f64,
}Expand description
Configuration for proximal operator computation via ADMM / gradient descent.
Fields§
§lambda: f64Regularisation parameter λ > 0.
max_iter: usizeMaximum number of gradient steps.
tol: f64Convergence tolerance.
step_size: f64Step size for inner minimisation.
Implementations§
Trait Implementations§
Source§impl Clone for ProxConfig
impl Clone for ProxConfig
Source§fn clone(&self) -> ProxConfig
fn clone(&self) -> ProxConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProxConfig
impl RefUnwindSafe for ProxConfig
impl Send for ProxConfig
impl Sync for ProxConfig
impl Unpin for ProxConfig
impl UnsafeUnpin for ProxConfig
impl UnwindSafe for ProxConfig
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