pub struct ProximalGradientSolver {
pub step_size: f64,
pub max_iter: usize,
pub tol: f64,
}Expand description
Proximal gradient method for composite minimisation: min f(x) + g(x). f is smooth, g is proximable.
Fields§
§step_size: f64Step size (1/L where L is Lipschitz constant of ∇f).
max_iter: usizeMaximum iterations.
tol: f64Convergence tolerance on iterates.
Implementations§
Trait Implementations§
Source§impl Clone for ProximalGradientSolver
impl Clone for ProximalGradientSolver
Source§fn clone(&self) -> ProximalGradientSolver
fn clone(&self) -> ProximalGradientSolver
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 ProximalGradientSolver
impl RefUnwindSafe for ProximalGradientSolver
impl Send for ProximalGradientSolver
impl Sync for ProximalGradientSolver
impl Unpin for ProximalGradientSolver
impl UnsafeUnpin for ProximalGradientSolver
impl UnwindSafe for ProximalGradientSolver
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