pub struct KrylovResult {
pub n_iterations: usize,
pub final_residual: f64,
pub converged: bool,
}Expand description
Outcome of a Krylov solve.
All fields are plain scalars with no units.
Fields§
§n_iterations: usizeNumber of iterations (matrix–vector products) actually performed.
final_residual: f64The true relative residual ||b − A x||₂ / ||b||₂ of the returned
iterate, recomputed from A and b (dimensionless, >= 0).
converged: booltrue iff final_residual <= settings.tolerance.
Trait Implementations§
Source§impl Clone for KrylovResult
impl Clone for KrylovResult
impl Copy for KrylovResult
Auto Trait Implementations§
impl Freeze for KrylovResult
impl RefUnwindSafe for KrylovResult
impl Send for KrylovResult
impl Sync for KrylovResult
impl Unpin for KrylovResult
impl UnsafeUnpin for KrylovResult
impl UnwindSafe for KrylovResult
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