pub struct BfgsOptions {
pub max_iterations: usize,
pub f_tolerance: f64,
pub g_tolerance: f64,
}Expand description
When minimize stops.
Fields§
§max_iterations: usize§f_tolerance: f64Stop once the objective is at or below this value.
g_tolerance: f64Stop once every gradient component is at or below this magnitude.
Trait Implementations§
Source§impl Clone for BfgsOptions
impl Clone for BfgsOptions
Source§fn clone(&self) -> BfgsOptions
fn clone(&self) -> BfgsOptions
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 BfgsOptions
Auto Trait Implementations§
impl Freeze for BfgsOptions
impl RefUnwindSafe for BfgsOptions
impl Send for BfgsOptions
impl Sync for BfgsOptions
impl Unpin for BfgsOptions
impl UnsafeUnpin for BfgsOptions
impl UnwindSafe for BfgsOptions
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