Struct rand::distributions::LogNormal
source · pub struct LogNormal { /* private fields */ }
👎Deprecated since 0.7.0: moved to rand_distr crate
Expand description
The log-normal distribution ln N(mean, std_dev**2)
.
If X
is log-normal distributed, then ln(X)
is N(mean, std_dev**2)
distributed.
Implementations§
Trait Implementations§
source§impl Distribution<f64> for LogNormal
impl Distribution<f64> for LogNormal
impl Copy for LogNormal
Auto Trait Implementations§
impl RefUnwindSafe for LogNormal
impl Send for LogNormal
impl Sync for LogNormal
impl Unpin for LogNormal
impl UnwindSafe for LogNormal
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