pub enum IterativeError {
EmptyMatrix,
DimensionMismatch,
MaxIterationsExceeded,
NotPositiveDefinite,
Breakdown,
}Expand description
Error type for iterative solvers.
Variants§
EmptyMatrix
Matrix is empty.
DimensionMismatch
Dimensions do not align.
MaxIterationsExceeded
Maximum iterations reached without convergence.
NotPositiveDefinite
Matrix is not positive definite (CG).
Breakdown
Algorithm breakdown.
Trait Implementations§
Source§impl Clone for IterativeError
impl Clone for IterativeError
Source§fn clone(&self) -> IterativeError
fn clone(&self) -> IterativeError
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 moreSource§impl Debug for IterativeError
impl Debug for IterativeError
Source§impl Display for IterativeError
impl Display for IterativeError
Source§impl Error for IterativeError
impl Error for IterativeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl IntoNabledError for IterativeError
impl IntoNabledError for IterativeError
Source§fn into_nabled_error(self) -> NabledError
fn into_nabled_error(self) -> NabledError
Convert domain-specific error into shared taxonomy.
Source§impl PartialEq for IterativeError
impl PartialEq for IterativeError
impl Copy for IterativeError
impl StructuralPartialEq for IterativeError
Auto Trait Implementations§
impl Freeze for IterativeError
impl RefUnwindSafe for IterativeError
impl Send for IterativeError
impl Sync for IterativeError
impl Unpin for IterativeError
impl UnsafeUnpin for IterativeError
impl UnwindSafe for IterativeError
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