pub struct Normal {
pub mu: f64,
pub sigma: f64,
}Expand description
Standard normal N(mu, sigma^2) - Ziggurat sampler, see
Random::normal.
Fields§
§mu: f64Mean.
sigma: f64Standard deviation. Must be ≥ 0.
Trait Implementations§
Source§impl Distribution<f64> for Normal
impl Distribution<f64> for Normal
impl Copy for Normal
Auto Trait Implementations§
impl Freeze for Normal
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnsafeUnpin for Normal
impl UnwindSafe for Normal
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