pub struct Beta { /* private fields */ }Expand description
Beta distribution, conjugate prior for binomial likelihood.
After observing s successes in n trials, the posterior is
Beta(α + s, β + n − s).
Implementations§
Trait Implementations§
impl Copy for Beta
Source§impl Distribution for Beta
impl Distribution for Beta
Auto Trait Implementations§
impl Freeze for Beta
impl RefUnwindSafe for Beta
impl Send for Beta
impl Sync for Beta
impl Unpin for Beta
impl UnsafeUnpin for Beta
impl UnwindSafe for Beta
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