pub struct SystemOptions {
pub function_tolerance: f64,
pub step_tolerance: f64,
pub max_iterations: usize,
}Expand description
Settings for the system solvers.
Fields§
§function_tolerance: f64Converged when ‖F‖∞ falls below this.
step_tolerance: f64The iteration also stops when the largest relative step |Δxᵢ| / max(|xᵢ|, 1) falls below
this, or the line search can make no progress; it then counts as converged if
‖F‖∞ ≤ max(function_tolerance, 1e-8), and otherwise (typically at a local minimum of
‖F‖ that is not a root) as not converged.
max_iterations: usizeThe maximum number of Newton or Broyden iterations.
Trait Implementations§
Source§impl Clone for SystemOptions
impl Clone for SystemOptions
impl Copy for SystemOptions
Source§impl Debug for SystemOptions
impl Debug for SystemOptions
Auto Trait Implementations§
impl Freeze for SystemOptions
impl RefUnwindSafe for SystemOptions
impl Send for SystemOptions
impl Sync for SystemOptions
impl Unpin for SystemOptions
impl UnsafeUnpin for SystemOptions
impl UnwindSafe for SystemOptions
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