pub struct FDist(/* private fields */);
Implementations§
Trait Implementations§
Source§impl ContinuousDistribution for FDist
impl ContinuousDistribution for FDist
Source§impl Distribution for FDist
impl Distribution for FDist
Source§type Support = PositiveReals
type Support = PositiveReals
Support of sample elements.
Source§fn support(&self) -> PositiveReals
fn support(&self) -> PositiveReals
Source§fn params(&self) -> Params
fn params(&self) -> Params
Returns an instance of the distribution parameters,
Self::Params
. Read moreSource§fn cdf(&self, x: &f64) -> Probability
fn cdf(&self, x: &f64) -> Probability
Evaluates the cumulative distribution function (CDF) at \(x\). Read more
Source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64
Draw a random value from the distribution support.
Source§fn into_support(self) -> Self::Support
fn into_support(self) -> Self::Support
Converts
self
into an instance of Self::Support
.Source§fn into_params(self) -> Self::Params
fn into_params(self) -> Self::Params
Converts
self
into an instance of Self::Params
.Source§fn ccdf(&self, x: &Sample<Self>) -> Probability
fn ccdf(&self, x: &Sample<Self>) -> Probability
Evaluates the complementary CDF at \(x\). Read more
Source§fn log_cdf(&self, x: &Sample<Self>) -> f64
fn log_cdf(&self, x: &Sample<Self>) -> f64
Evaluates the log CDF at \(x\), i.e. \(\ln{F(x)}\).
Source§fn log_ccdf(&self, x: &Sample<Self>) -> f64
fn log_ccdf(&self, x: &Sample<Self>) -> f64
Evaluates the log complementary CDF at \(x\), i.e. \(\ln{(1 - F(x))}\).
Source§impl ShannonEntropy for FDist
impl ShannonEntropy for FDist
Source§fn shannon_entropy(&self) -> f64
fn shannon_entropy(&self) -> f64
Computes the Shannon entropy of the distribution, \(H(X)\).
Source§impl UnivariateMoments for FDist
impl UnivariateMoments for FDist
Source§fn excess_kurtosis(&self) -> f64
fn excess_kurtosis(&self) -> f64
Computes the excess kurtosis of the distribution.
Source§fn standard_deviation(&self) -> f64
fn standard_deviation(&self) -> f64
Computes the standard deviation of the distribution.
Auto Trait Implementations§
impl Freeze for FDist
impl RefUnwindSafe for FDist
impl Send for FDist
impl Sync for FDist
impl Unpin for FDist
impl UnwindSafe for FDist
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more