Struct probability::distribution::Logistic [−][src]
pub struct Logistic { /* fields omitted */ }
A logistic distribution.
Methods
impl Logistic
[src]
impl Logistic
pub fn new(mu: f64, s: f64) -> Self
[src]
pub fn new(mu: f64, s: f64) -> Self
Create a logistic distribution with location mu
and scale s
.
It should hold that s > 0
.
pub fn mu(&self) -> f64
[src]
pub fn mu(&self) -> f64
Return the location parameter.
pub fn s(&self) -> f64
[src]
pub fn s(&self) -> f64
Return the scale parameter.
Trait Implementations
impl Clone for Logistic
[src]
impl Clone for Logistic
fn clone(&self) -> Logistic
[src]
fn clone(&self) -> Logistic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[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 Copy for Logistic
impl Debug for Logistic
[src]
impl Debug for Logistic
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Logistic
[src]
impl Default for Logistic
impl Continuous for Logistic
[src]
impl Continuous for Logistic
impl Distribution for Logistic
[src]
impl Distribution for Logistic
type Value = f64
The type of outcomes.
fn distribution(&self, x: f64) -> f64
[src]
fn distribution(&self, x: f64) -> f64
Compute the cumulative distribution function.
impl Entropy for Logistic
[src]
impl Entropy for Logistic
impl Inverse for Logistic
[src]
impl Inverse for Logistic
impl Kurtosis for Logistic
[src]
impl Kurtosis for Logistic
impl Mean for Logistic
[src]
impl Mean for Logistic
impl Median for Logistic
[src]
impl Median for Logistic
impl Modes for Logistic
[src]
impl Modes for Logistic
impl Sample for Logistic
[src]
impl Sample for Logistic
impl Skewness for Logistic
[src]
impl Skewness for Logistic
impl Variance for Logistic
[src]
impl Variance for Logistic