pub struct LbfgsbOptions {
pub memory: usize,
pub ftol: f64,
pub gtol: f64,
pub max_iterations: usize,
}Expand description
Options for minimize_lbfgsb, with SciPy’s defaults.
Fields§
§memory: usizeThe number of correction pairs kept (maxcor).
ftol: f64Stop when (f_k − f_{k+1}) / max(|f_k|, |f_{k+1}|, 1) ≤ ftol.
gtol: f64Stop when the largest component of the projected gradient is at most gtol.
max_iterations: usizeTrait Implementations§
Source§impl Clone for LbfgsbOptions
impl Clone for LbfgsbOptions
impl Copy for LbfgsbOptions
Source§impl Debug for LbfgsbOptions
impl Debug for LbfgsbOptions
Auto Trait Implementations§
impl Freeze for LbfgsbOptions
impl RefUnwindSafe for LbfgsbOptions
impl Send for LbfgsbOptions
impl Sync for LbfgsbOptions
impl Unpin for LbfgsbOptions
impl UnsafeUnpin for LbfgsbOptions
impl UnwindSafe for LbfgsbOptions
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