pub struct IterativeRefinementResult<F> {
pub solution: Array1<F>,
pub iterations: usize,
pub residual_history: Vec<F>,
pub forward_error: F,
pub backward_error: F,
pub converged: bool,
}Expand description
Result of iterative refinement.
Fields§
§solution: Array1<F>Refined solution vector.
iterations: usizeNumber of refinement iterations performed.
residual_history: Vec<F>History of residual norms (one per iteration, plus the initial).
forward_error: FEstimated forward error ||x_true - x|| / ||x|| at the final step.
backward_error: FEstimated backward error at the final step.
converged: boolWhether the refinement converged within the tolerance.
Trait Implementations§
Source§impl<F: Clone> Clone for IterativeRefinementResult<F>
impl<F: Clone> Clone for IterativeRefinementResult<F>
Source§fn clone(&self) -> IterativeRefinementResult<F>
fn clone(&self) -> IterativeRefinementResult<F>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<F> Freeze for IterativeRefinementResult<F>where
F: Freeze,
impl<F> RefUnwindSafe for IterativeRefinementResult<F>where
F: RefUnwindSafe,
impl<F> Send for IterativeRefinementResult<F>where
F: Send,
impl<F> Sync for IterativeRefinementResult<F>where
F: Sync,
impl<F> Unpin for IterativeRefinementResult<F>where
F: Unpin,
impl<F> UnsafeUnpin for IterativeRefinementResult<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for IterativeRefinementResult<F>where
F: UnwindSafe + RefUnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more