pub struct Options {
pub max_iterations: usize,
pub max_step: Scalar,
}Expand description
How long minimize may try, and how far a step may go.
Fields§
§max_iterations: usizeSteps taken at most: how hard it tries, never what an answer means.
max_step: ScalarThe longest step, but where the steps before landed as their linearization said: where the variables have a natural size, no step longer than it is sensible until the problem shows it is.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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