pub enum DenseError {
NotPositiveDefinite {
position: usize,
},
Dimension,
}Expand description
Error raised by a crate::DenseKernel (Chapter 5.16).
Variants§
NotPositiveDefinite
The block is not positive definite: the pivot of column position
is not positive (or not finite).
Dimension
The dimensions of the blocks do not agree (or a block that must be square is not).
Trait Implementations§
Source§impl Clone for DenseError
impl Clone for DenseError
Source§impl Debug for DenseError
impl Debug for DenseError
Source§impl Display for DenseError
impl Display for DenseError
impl Eq for DenseError
Source§impl Error for DenseError
impl Error for DenseError
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 DenseError
impl PartialEq for DenseError
impl StructuralPartialEq for DenseError
Auto Trait Implementations§
impl Forget for DenseError
impl Freeze for DenseError
impl RefUnwindSafe for DenseError
impl Send for DenseError
impl Sync for DenseError
impl Unpin for DenseError
impl UnsafeUnpin for DenseError
impl UnwindSafe for DenseError
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