Struct probability::prelude::Logistic[][src]

pub struct Logistic { /* fields omitted */ }

A logistic distribution.

Implementations

impl Logistic[src]

pub fn new(mu: f64, s: f64) -> Self[src]

Create a logistic distribution with location mu and scale s.

It should hold that s > 0.

pub fn mu(&self) -> f64[src]

Return the location parameter.

pub fn s(&self) -> f64[src]

Return the scale parameter.

Trait Implementations

impl Clone for Logistic[src]

impl Continuous for Logistic[src]

impl Copy for Logistic[src]

impl Debug for Logistic[src]

impl Default for Logistic[src]

impl Distribution for Logistic[src]

type Value = f64

The type of outcomes.

impl Entropy for Logistic[src]

impl Inverse for Logistic[src]

impl Kurtosis for Logistic[src]

impl Mean for Logistic[src]

impl Median for Logistic[src]

impl Modes for Logistic[src]

impl Sample for Logistic[src]

impl Skewness for Logistic[src]

impl Variance for Logistic[src]

Auto Trait Implementations

impl RefUnwindSafe for Logistic

impl Send for Logistic

impl Sync for Logistic

impl Unpin for Logistic

impl UnwindSafe for Logistic

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.