pub struct RefinementOutcome {
pub solution: Array1<f64>,
pub relative_residual: f64,
pub used_fp32_factor: bool,
pub refinement_steps: usize,
}Expand description
Outcome reported by iterative_refinement_cholesky_solve.
Fields§
§solution: Array1<f64>Solution vector x satisfying A x ≈ b.
relative_residual: f64‖r‖ / ‖b‖ where r = b − A x after the last refinement step
(or after the initial fp32 solve when no steps were taken).
used_fp32_factor: boolPrecision path used for the factorization.
refinement_steps: usizeNumber of refinement steps taken (0 means only the initial solve ran).
Trait Implementations§
Source§impl Clone for RefinementOutcome
impl Clone for RefinementOutcome
Source§fn clone(&self) -> RefinementOutcome
fn clone(&self) -> RefinementOutcome
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 Freeze for RefinementOutcome
impl RefUnwindSafe for RefinementOutcome
impl Send for RefinementOutcome
impl Sync for RefinementOutcome
impl Unpin for RefinementOutcome
impl UnsafeUnpin for RefinementOutcome
impl UnwindSafe for RefinementOutcome
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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