Struct probability::distribution::Logistic
[−]
[src]
pub struct Logistic { // some fields omitted }
A logistic distribution.
Methods
impl Logistic
[src]
fn new(mu: f64, s: f64) -> Self
Create a logistic distribution with location mu
and scale s
.
It should hold that s > 0
.
fn mu(&self) -> f64
Return the location parameter.
fn s(&self) -> f64
Return the scale parameter.
Trait Implementations
impl Copy for Logistic
[src]
impl Clone for Logistic
[src]
fn clone(&self) -> Logistic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Logistic
[src]
impl Continuous for Logistic
[src]
impl Distribution for Logistic
[src]
type Value = f64
The type of outcomes.
fn distribution(&self, x: f64) -> f64
Compute the cumulative distribution function.