pub enum SsorError {
NonSquareMatrix {
nrows: usize,
ncols: usize,
},
MissingDiagonal {
col: usize,
},
UnsortedRowIndices {
col: usize,
},
ZeroDiagonal {
col: usize,
},
InvalidOmega,
PatternMismatch,
}Expand description
Error returned by SSOR construction or refactorisation.
Variants§
NonSquareMatrix
The source matrix was not square.
MissingDiagonal
Column col of the source matrix does not contain its diagonal entry.
UnsortedRowIndices
Row indices in column col are not sorted ascending.
ZeroDiagonal
Diagonal entry col was zero, so the triangular factors are singular.
InvalidOmega
omega was not in the open interval (0, 2).
PatternMismatch
A refactorisation was attempted with a matrix whose pattern does not match the stored factor.
Trait Implementations§
impl Eq for SsorError
Source§impl Error for SsorError
impl Error for SsorError
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()
impl StructuralPartialEq for SsorError
Auto Trait Implementations§
impl Freeze for SsorError
impl RefUnwindSafe for SsorError
impl Send for SsorError
impl Sync for SsorError
impl Unpin for SsorError
impl UnsafeUnpin for SsorError
impl UnwindSafe for SsorError
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
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