pub enum IlutpError {
NonSquareMatrix {
nrows: usize,
ncols: usize,
},
ZeroPivot {
row: usize,
},
InvalidDropTol,
InvalidPivotTol,
InvalidFillControl,
}Expand description
Error returned by ILUTP construction or refactorisation.
Variants§
NonSquareMatrix
The source matrix was not square.
ZeroPivot
Row row reduced to a zero pivot even after pivoting — the matrix is
numerically singular for these parameters.
InvalidDropTol
drop_tol was negative or NaN.
InvalidPivotTol
pivot_tol was outside [0, 1] or NaN.
InvalidFillControl
FillControl::Factor was non-positive or NaN.
Trait Implementations§
Source§impl Clone for IlutpError
impl Clone for IlutpError
Source§fn clone(&self) -> IlutpError
fn clone(&self) -> IlutpError
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 moreSource§impl Debug for IlutpError
impl Debug for IlutpError
Source§impl Display for IlutpError
impl Display for IlutpError
impl Eq for IlutpError
Source§impl Error for IlutpError
impl Error for IlutpError
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 PartialEq for IlutpError
impl PartialEq for IlutpError
Source§fn eq(&self, other: &IlutpError) -> bool
fn eq(&self, other: &IlutpError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IlutpError
Auto Trait Implementations§
impl Freeze for IlutpError
impl RefUnwindSafe for IlutpError
impl Send for IlutpError
impl Sync for IlutpError
impl Unpin for IlutpError
impl UnsafeUnpin for IlutpError
impl UnwindSafe for IlutpError
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