Struct probability::distribution::Logistic [−][src]
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]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,