pub struct Root {
pub x: f64,
pub iterations: usize,
pub converged: bool,
}Expand description
Result of a 1-D root search.
Fields§
§x: f64The best estimate of the root.
iterations: usizeIterations actually taken.
converged: boolTrue when |f(x)| <= tol was reached.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Root
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnsafeUnpin for Root
impl UnwindSafe for Root
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