pub enum PCAError {
EmptyMatrix,
InvalidInput(String),
DecompositionFailed,
}Expand description
Error type for PCA operations.
Variants§
EmptyMatrix
Input matrix is empty.
InvalidInput(String)
Invalid user input.
DecompositionFailed
Decomposition failed.
Trait Implementations§
Source§impl Error for PCAError
impl Error for PCAError
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 IntoNabledError for PCAError
impl IntoNabledError for PCAError
Source§fn into_nabled_error(self) -> NabledError
fn into_nabled_error(self) -> NabledError
Convert domain-specific error into shared taxonomy.
impl StructuralPartialEq for PCAError
Auto Trait Implementations§
impl Freeze for PCAError
impl RefUnwindSafe for PCAError
impl Send for PCAError
impl Sync for PCAError
impl Unpin for PCAError
impl UnsafeUnpin for PCAError
impl UnwindSafe for PCAError
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