pub struct RootOptions {
pub tolerance: f64,
pub max_iterations: usize,
}Expand description
Configuration for iterative approximate root finders.
Fields§
§tolerance: f64Absolute tolerance used for convergence and zero checks.
max_iterations: usizeMaximum number of solver iterations before returning an error.
Trait Implementations§
Source§impl Clone for RootOptions
impl Clone for RootOptions
Source§fn clone(&self) -> RootOptions
fn clone(&self) -> RootOptions
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 moreSource§impl Debug for RootOptions
impl Debug for RootOptions
Source§impl Default for RootOptions
impl Default for RootOptions
Source§impl PartialEq for RootOptions
impl PartialEq for RootOptions
Source§fn eq(&self, other: &RootOptions) -> bool
fn eq(&self, other: &RootOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RootOptions
impl StructuralPartialEq for RootOptions
Auto Trait Implementations§
impl Freeze for RootOptions
impl RefUnwindSafe for RootOptions
impl Send for RootOptions
impl Sync for RootOptions
impl Unpin for RootOptions
impl UnsafeUnpin for RootOptions
impl UnwindSafe for RootOptions
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