pub enum IlukError {
NonSquareMatrix {
nrows: usize,
ncols: usize,
},
MissingDiagonal {
col: usize,
},
UnsortedRowIndices {
col: usize,
},
PatternMismatch,
ZeroPivot {
col: usize,
},
}Expand description
Error returned by ILU(k) 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.
PatternMismatch
A refactorisation was attempted with a matrix whose pattern does not match the symbolic factor.
ZeroPivot
A zero pivot was encountered while eliminating column col.
Trait Implementations§
impl Eq for IlukError
Source§impl Error for IlukError
impl Error for IlukError
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 IlukError
Auto Trait Implementations§
impl Freeze for IlukError
impl RefUnwindSafe for IlukError
impl Send for IlukError
impl Sync for IlukError
impl Unpin for IlukError
impl UnsafeUnpin for IlukError
impl UnwindSafe for IlukError
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