pub struct IterativeSolverResult<T> {
pub iterations: u32,
pub residual: T,
pub converged: bool,
}Expand description
Result from a preconditioned iterative solver.
Fields§
§iterations: u32Number of iterations performed.
residual: TFinal residual norm (||b - A*x||).
converged: boolWhether the solver converged within tolerance.
Trait Implementations§
Source§impl<T: Clone> Clone for IterativeSolverResult<T>
impl<T: Clone> Clone for IterativeSolverResult<T>
Source§fn clone(&self) -> IterativeSolverResult<T>
fn clone(&self) -> IterativeSolverResult<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for IterativeSolverResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for IterativeSolverResult<T>where
T: RefUnwindSafe,
impl<T> Send for IterativeSolverResult<T>where
T: Send,
impl<T> Sync for IterativeSolverResult<T>where
T: Sync,
impl<T> Unpin for IterativeSolverResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for IterativeSolverResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for IterativeSolverResult<T>where
T: UnwindSafe,
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