#[non_exhaustive]pub enum PolishStop {
Converged,
Stagnated,
IterationLimit,
NotFinite,
}Expand description
Why Algorithm P stopped.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Converged
The test of step P2 (c) holds in every row.
Stagnated
The norm of the residual stopped shrinking, or a correction
increased it and was undone, before every row passed the test of
convergence: κ(A) u ≳ 1, the solve is not a solve of A — or,
commonly and harmlessly, the residual is already at the
accuracy of double-double while some row whose exact terms are all
zero cannot pass a relative test (9 of the 93 optimal bases of
Netlib; Chapter 11.10). The point reached is kept.
IterationLimit
PolishOptions::max_iter corrections were made.
NotFinite
A residual or a correction was not finite.
Trait Implementations§
Source§impl Clone for PolishStop
impl Clone for PolishStop
impl Copy for PolishStop
Source§impl Debug for PolishStop
impl Debug for PolishStop
impl Eq for PolishStop
Source§impl PartialEq for PolishStop
impl PartialEq for PolishStop
impl StructuralPartialEq for PolishStop
Auto Trait Implementations§
impl Freeze for PolishStop
impl RefUnwindSafe for PolishStop
impl Send for PolishStop
impl Sync for PolishStop
impl Unpin for PolishStop
impl UnsafeUnpin for PolishStop
impl UnwindSafe for PolishStop
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