pub struct Binomial {
pub n: usize,
pub x: Vec<usize>,
pub p: f64,
}Expand description
Ingests context tracking parameters mapping independent Binomial distribution configurations.
Fields§
§n: usizeNumber of independent trials ($n$).
x: Vec<usize>Vector tracking target successes ($x$).
p: f64Probability of success on an individual trial ($p$).
Implementations§
Auto Trait Implementations§
impl Freeze for Binomial
impl RefUnwindSafe for Binomial
impl Send for Binomial
impl Sync for Binomial
impl Unpin for Binomial
impl UnwindSafe for Binomial
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