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 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.