pub enum BetaShape {
Uniform,
UShaped,
Symmetric,
SkewedLeft,
SkewedRight,
JShapedHigh,
JShapedLow,
}Expand description
Determine the shape of the distribution based on alpha and beta.
Variants§
Uniform
Uniform distribution (alpha = beta = 1)
UShaped
U-shaped (alpha < 1 and beta < 1)
Symmetric
Unimodal symmetric (alpha = beta > 1)
SkewedLeft
Unimodal skewed left (alpha > beta)
SkewedRight
Unimodal skewed right (alpha < beta)
JShapedHigh
J-shaped towards 1 (alpha >= 1, beta < 1)
JShapedLow
J-shaped towards 0 (alpha < 1, beta >= 1)
Trait Implementations§
impl Copy for BetaShape
impl Eq for BetaShape
impl StructuralPartialEq for BetaShape
Auto Trait Implementations§
impl Freeze for BetaShape
impl RefUnwindSafe for BetaShape
impl Send for BetaShape
impl Sync for BetaShape
impl Unpin for BetaShape
impl UnsafeUnpin for BetaShape
impl UnwindSafe for BetaShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.