Enum rv::dist::DirichletError [−][src]
pub enum DirichletError { KIsZero, AlphasEmpty, AlphaTooLow { ix: usize, alpha: f64, }, AlphaNotFinite { ix: usize, alpha: f64, }, }
Variants
k parameter is zero
alpha vector is empty
alphas parameter has one or more entries less than or equal to zero
alphas parameter has one or infinite or NaN entries
Trait Implementations
impl Clone for DirichletError
[src]
impl Clone for DirichletError
[src]fn clone(&self) -> DirichletError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Error for DirichletError
[src]
impl Error for DirichletError
[src]impl PartialEq<DirichletError> for DirichletError
[src]
impl PartialEq<DirichletError> for DirichletError
[src]fn eq(&self, other: &DirichletError) -> bool
[src]
fn ne(&self, other: &DirichletError) -> bool
[src]
impl StructuralPartialEq for DirichletError
[src]
impl StructuralPartialEq for DirichletError
[src]Auto Trait Implementations
impl RefUnwindSafe for DirichletError
impl RefUnwindSafe for DirichletError
impl Send for DirichletError
impl Send for DirichletError
impl Sync for DirichletError
impl Sync for DirichletError
impl Unpin for DirichletError
impl Unpin for DirichletError
impl UnwindSafe for DirichletError
impl UnwindSafe for DirichletError
Blanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,