pub struct LevenbergMarquardtOptions {
pub gradient_tolerance: f64,
pub step_tolerance: f64,
pub cost_tolerance: f64,
pub max_iterations: usize,
}Expand description
Stopping rules and budget for levenberg_marquardt.
Fields§
§gradient_tolerance: f64Stop when ||J^T r||_inf is at most this.
step_tolerance: f64Stop when a step is at most this times ||x|| + step_tolerance.
cost_tolerance: f64Stop when the cost 1/2 ||r||^2 is at most this (for zero-residual
problems such as equation systems; 0 disables).
max_iterations: usizeMost iterations (accepted or rejected steps).
Implementations§
Trait Implementations§
Source§impl Clone for LevenbergMarquardtOptions
impl Clone for LevenbergMarquardtOptions
Source§fn clone(&self) -> LevenbergMarquardtOptions
fn clone(&self) -> LevenbergMarquardtOptions
Returns a copy 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 moreSource§impl Debug for LevenbergMarquardtOptions
impl Debug for LevenbergMarquardtOptions
impl Copy for LevenbergMarquardtOptions
impl StructuralPartialEq for LevenbergMarquardtOptions
Auto Trait Implementations§
impl Freeze for LevenbergMarquardtOptions
impl RefUnwindSafe for LevenbergMarquardtOptions
impl Send for LevenbergMarquardtOptions
impl Sync for LevenbergMarquardtOptions
impl Unpin for LevenbergMarquardtOptions
impl UnwindSafe for LevenbergMarquardtOptions
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