pub struct MinimizeConfig {
pub max_steps: usize,
pub step_size: f64,
pub convergence: f64,
}Expand description
Configuration for the minimization algorithm.
Fields§
§max_steps: usizeMaximum number of gradient-descent steps.
step_size: f64Base step size for coordinate updates (scaled by max gradient).
convergence: f64Convergence threshold: stop when max gradient component < this value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MinimizeConfig
impl RefUnwindSafe for MinimizeConfig
impl Send for MinimizeConfig
impl Sync for MinimizeConfig
impl Unpin for MinimizeConfig
impl UnsafeUnpin for MinimizeConfig
impl UnwindSafe for MinimizeConfig
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