#[non_exhaustive]pub enum MultivariateGaussianError<T> {
NotCovarianceMatrix {
mean: Tensor<T, 1>,
covariance: Tensor<T, 2>,
},
MeanVectorWrongLength {
mean: Tensor<T, 1>,
covariance: Tensor<T, 2>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl<T: Clone> Clone for MultivariateGaussianError<T>
impl<T: Clone> Clone for MultivariateGaussianError<T>
Source§fn clone(&self) -> MultivariateGaussianError<T>
fn clone(&self) -> MultivariateGaussianError<T>
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<T: Debug> Debug for MultivariateGaussianError<T>
impl<T: Debug> Debug for MultivariateGaussianError<T>
Source§impl<T: Debug> Display for MultivariateGaussianError<T>
impl<T: Debug> Display for MultivariateGaussianError<T>
Source§impl<T: Debug> Error for MultivariateGaussianError<T>
impl<T: Debug> Error for MultivariateGaussianError<T>
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<T: PartialEq> PartialEq for MultivariateGaussianError<T>
impl<T: PartialEq> PartialEq for MultivariateGaussianError<T>
Source§fn eq(&self, other: &MultivariateGaussianError<T>) -> bool
fn eq(&self, other: &MultivariateGaussianError<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T> StructuralPartialEq for MultivariateGaussianError<T>
Auto Trait Implementations§
impl<T> Freeze for MultivariateGaussianError<T>
impl<T> RefUnwindSafe for MultivariateGaussianError<T>where
T: RefUnwindSafe,
impl<T> Send for MultivariateGaussianError<T>where
T: Send,
impl<T> Sync for MultivariateGaussianError<T>where
T: Sync,
impl<T> Unpin for MultivariateGaussianError<T>where
T: Unpin,
impl<T> UnwindSafe for MultivariateGaussianError<T>where
T: UnwindSafe,
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