#[non_exhaustive]pub struct SystemRootResult {
pub x: Vec<f64>,
pub residual: f64,
pub iterations: usize,
pub nfev: usize,
pub converged: bool,
}Expand description
The outcome of a system solve.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.x: Vec<f64>The final iterate.
residual: f64‖F(x)‖∞.
iterations: usizeNewton or Broyden iterations taken.
nfev: usizeEvaluations of F, including those for finite-difference Jacobians and line searches.
converged: boolWhether the convergence test of SystemOptions was met.
Trait Implementations§
Source§impl Clone for SystemRootResult
impl Clone for SystemRootResult
Auto Trait Implementations§
impl Freeze for SystemRootResult
impl RefUnwindSafe for SystemRootResult
impl Send for SystemRootResult
impl Sync for SystemRootResult
impl Unpin for SystemRootResult
impl UnsafeUnpin for SystemRootResult
impl UnwindSafe for SystemRootResult
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