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

pub struct Logistic { /* fields omitted */ }

A logistic distribution.

Methods

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 Continuous 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]

fn deviation(&self) -> f64[src]

Compute the standard deviation.

impl Default for Logistic[src]

impl Clone for Logistic[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for Logistic[src]

impl Debug for Logistic[src]

Auto Trait Implementations

impl Send for Logistic

impl Sync for Logistic

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.

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

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

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