pub struct SolverPerformance {
pub n_iterations: usize,
pub final_residual: f64,
pub converged: bool,
}Expand description
Summary of a linear solve.
Fields§
§n_iterations: usizeNumber of iterations/sweeps actually performed.
final_residual: f64Normalised residual at exit (dimensionless).
converged: booltrue if final_residual dropped below the requested tolerance.
Trait Implementations§
Source§impl Clone for SolverPerformance
impl Clone for SolverPerformance
impl Copy for SolverPerformance
Auto Trait Implementations§
impl Freeze for SolverPerformance
impl RefUnwindSafe for SolverPerformance
impl Send for SolverPerformance
impl Sync for SolverPerformance
impl Unpin for SolverPerformance
impl UnsafeUnpin for SolverPerformance
impl UnwindSafe for SolverPerformance
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