pub struct LmOptions {
pub ftol: f64,
pub xtol: f64,
pub gtol: f64,
pub maxfev: Option<usize>,
pub factor: f64,
pub epsfcn: f64,
}Fields§
§ftol: f64Stop when the relative reduction in the sum of squares is at most this (MINPACK info 1).
xtol: f64Stop when the relative change in x is at most this (info 2).
gtol: f64Stop when the cosine of the angle between F and any column of the Jacobian is at most
this (info 4).
maxfev: Option<usize>The largest number of evaluations of F; None for SciPy’s 100(n + 1) with a
Jacobian and 200(n + 1) without.
factor: f64The initial step bound is factor ‖D x‖.
epsfcn: f64The relative step for forward-difference Jacobians, √max(epsfcn, ε).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LmOptions
impl RefUnwindSafe for LmOptions
impl Send for LmOptions
impl Sync for LmOptions
impl Unpin for LmOptions
impl UnsafeUnpin for LmOptions
impl UnwindSafe for LmOptions
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