pub struct GammaDist {
pub shape: f64,
pub scale: f64,
}Expand description
Gamma distribution (Marsaglia-Tsang method for alpha >= 1).
Fields§
§shape: f64§scale: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GammaDist
impl RefUnwindSafe for GammaDist
impl Send for GammaDist
impl Sync for GammaDist
impl Unpin for GammaDist
impl UnsafeUnpin for GammaDist
impl UnwindSafe for GammaDist
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