pub struct NegativeBinomialRV {
pub r: u32,
pub p: f64,
}Expand description
Negative Binomial random variable X ~ NB(r, p).
Fields§
§r: u32§p: f64Implementations§
Trait Implementations§
Source§impl Clone for NegativeBinomialRV
impl Clone for NegativeBinomialRV
Source§fn clone(&self) -> NegativeBinomialRV
fn clone(&self) -> NegativeBinomialRV
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NegativeBinomialRV
impl RefUnwindSafe for NegativeBinomialRV
impl Send for NegativeBinomialRV
impl Sync for NegativeBinomialRV
impl Unpin for NegativeBinomialRV
impl UnsafeUnpin for NegativeBinomialRV
impl UnwindSafe for NegativeBinomialRV
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