[−][src]Struct rv::dist::LogNormal
LogNormal Distribution If x ~ Normal(μ, σ), then e^x ~ LogNormal(μ, σ).
Fields
mu: f64
log scale mean
sigma: f64
log scale standard deviation
Methods
impl LogNormal
[src]
Trait Implementations
impl Rv<f32> for LogNormal
[src]
fn ln_f(&self, x: &f32) -> f64
[src]
fn draw<R: Rng>(&self, rng: &mut R) -> f32
[src]
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f32>
[src]
fn f(&self, x: &X) -> f64
[src]
Probability function Read more
impl Rv<f64> for LogNormal
[src]
fn ln_f(&self, x: &f64) -> f64
[src]
fn draw<R: Rng>(&self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f64>
[src]
fn f(&self, x: &X) -> f64
[src]
Probability function Read more
impl Support<f32> for LogNormal
[src]
impl Support<f64> for LogNormal
[src]
impl ContinuousDistr<f32> for LogNormal
[src]
fn pdf(&self, x: &X) -> f64
[src]
The value of the Probability Density Function (PDF) at x
Read more
fn ln_pdf(&self, x: &X) -> f64
[src]
The value of the log Probability Density Function (PDF) at x
Read more
impl ContinuousDistr<f64> for LogNormal
[src]
fn pdf(&self, x: &X) -> f64
[src]
The value of the Probability Density Function (PDF) at x
Read more
fn ln_pdf(&self, x: &X) -> f64
[src]
The value of the log Probability Density Function (PDF) at x
Read more
impl Cdf<f32> for LogNormal
[src]
impl Cdf<f64> for LogNormal
[src]
impl InverseCdf<f32> for LogNormal
[src]
fn invcdf(&self, p: f64) -> f32
[src]
fn quantile(&self, p: f64) -> X
[src]
Alias for invcdf
fn interval(&self, p: f64) -> (X, X)
[src]
Interval containing p
proportion for the probability Read more
impl InverseCdf<f64> for LogNormal
[src]
fn invcdf(&self, p: f64) -> f64
[src]
fn quantile(&self, p: f64) -> X
[src]
Alias for invcdf
fn interval(&self, p: f64) -> (X, X)
[src]
Interval containing p
proportion for the probability Read more
impl Mean<f32> for LogNormal
[src]
impl Mean<f64> for LogNormal
[src]
impl Median<f32> for LogNormal
[src]
impl Median<f64> for LogNormal
[src]
impl Mode<f32> for LogNormal
[src]
impl Mode<f64> for LogNormal
[src]
impl Variance<f64> for LogNormal
[src]
impl Entropy for LogNormal
[src]
impl Skewness for LogNormal
[src]
impl Kurtosis for LogNormal
[src]
impl<'_> From<&'_ LogNormal> for String
[src]
impl Clone for LogNormal
[src]
fn clone(&self) -> LogNormal
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for LogNormal
[src]
impl Display for LogNormal
[src]
impl Debug for LogNormal
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,