pub struct BetaDist {
pub alpha: f64,
pub beta: f64,
}Expand description
Beta distribution (Johnk’s method for sampling).
Fields§
§alpha: f64§beta: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BetaDist
impl RefUnwindSafe for BetaDist
impl Send for BetaDist
impl Sync for BetaDist
impl Unpin for BetaDist
impl UnsafeUnpin for BetaDist
impl UnwindSafe for BetaDist
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