pub enum LapackError {
Singular(String),
NotPositiveDefinite(String),
DimensionMismatch(String),
NotConverged(String),
Other(String),
}Expand description
Error type for LAPACK operations on ndarray.
Variants§
Singular(String)
Matrix is singular or nearly singular
NotPositiveDefinite(String)
Matrix is not positive definite
DimensionMismatch(String)
Dimension mismatch
NotConverged(String)
Decomposition did not converge
Other(String)
Other error
Trait Implementations§
Source§impl Clone for LapackError
impl Clone for LapackError
Source§fn clone(&self) -> LapackError
fn clone(&self) -> LapackError
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 LapackError
impl Debug for LapackError
Source§impl Display for LapackError
impl Display for LapackError
Source§impl Error for LapackError
impl Error for LapackError
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()
Auto Trait Implementations§
impl Freeze for LapackError
impl RefUnwindSafe for LapackError
impl Send for LapackError
impl Sync for LapackError
impl Unpin for LapackError
impl UnwindSafe for LapackError
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