pub struct OptimConfig {
pub tol: f64,
pub max_iter: usize,
}Expand description
Optimizer configuration: convergence tolerance and iteration cap.
The tolerance applies to each method’s natural criterion: the gradient infinity norm (gradient-based), the simplex value spread (Nelder-Mead), the population value spread (differential evolution), or the cost decrease (Levenberg-Marquardt).
Fields§
§tol: f64§max_iter: usizeImplementations§
Trait Implementations§
Source§impl Clone for OptimConfig
impl Clone for OptimConfig
Source§fn clone(&self) -> OptimConfig
fn clone(&self) -> OptimConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OptimConfig
Source§impl Debug for OptimConfig
impl Debug for OptimConfig
Auto Trait Implementations§
impl Freeze for OptimConfig
impl RefUnwindSafe for OptimConfig
impl Send for OptimConfig
impl Sync for OptimConfig
impl Unpin for OptimConfig
impl UnsafeUnpin for OptimConfig
impl UnwindSafe for OptimConfig
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