pub struct Control {
pub tol: f64,
pub max_iter: usize,
}Expand description
Stopping rule for iterative solvers.
Fields§
§tol: f64Relative tolerance on the parameter change between iterations.
max_iter: usizeMaximum number of iterations before returning NonConvergence.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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