Trait rv::traits::Mean

source ·
pub trait Mean<X> {
    // Required method
    fn mean(&self) -> Option<X>;
}
Expand description

Defines the distribution mean

Required Methods§

source

fn mean(&self) -> Option<X>

Returns None if the mean is undefined

Implementors§

source§

impl Mean<f32> for Beta

source§

impl Mean<f32> for ChiSquared

source§

impl Mean<f32> for Exponential

source§

impl Mean<f32> for Gamma

source§

impl Mean<f32> for Gaussian

source§

impl Mean<f32> for Gev

source§

impl Mean<f32> for InvChiSquared

source§

impl Mean<f32> for InvGamma

source§

impl Mean<f32> for InvGaussian

source§

impl Mean<f32> for Kumaraswamy

source§

impl Mean<f32> for Laplace

source§

impl Mean<f32> for LogNormal

source§

impl Mean<f32> for Pareto

source§

impl Mean<f32> for ScaledInvChiSquared

source§

impl Mean<f32> for StudentsT

source§

impl Mean<f32> for Uniform

source§

impl Mean<f32> for UnitPowerLaw

source§

impl Mean<f32> for VonMises

source§

impl Mean<f64> for Bernoulli

source§

impl Mean<f64> for Beta

source§

impl Mean<f64> for BetaBinomial

source§

impl Mean<f64> for Binomial

source§

impl Mean<f64> for ChiSquared

source§

impl Mean<f64> for Empirical

source§

impl Mean<f64> for Exponential

source§

impl Mean<f64> for Gamma

source§

impl Mean<f64> for Gaussian

source§

impl Mean<f64> for Geometric

source§

impl Mean<f64> for Gev

source§

impl Mean<f64> for InvChiSquared

source§

impl Mean<f64> for InvGamma

source§

impl Mean<f64> for InvGaussian

source§

impl Mean<f64> for Kumaraswamy

source§

impl Mean<f64> for Laplace

source§

impl Mean<f64> for LogNormal

source§

impl Mean<f64> for NegBinomial

source§

impl Mean<f64> for Pareto

source§

impl Mean<f64> for Poisson

source§

impl Mean<f64> for ScaledInvChiSquared

source§

impl Mean<f64> for Skellam

source§

impl Mean<f64> for StudentsT

source§

impl Mean<f64> for Uniform

source§

impl Mean<f64> for UnitPowerLaw

source§

impl Mean<f64> for VonMises

source§

impl Mean<Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>> for MvGaussian

source§

impl Mean<Matrix<f64, Dyn, Dyn, VecStorage<f64, Dyn, Dyn>>> for InvWishart

source§

impl<Fx> Mean<f32> for Mixture<Fx>
where Fx: Mean<f32>,

source§

impl<Fx> Mean<f64> for Mixture<Fx>
where Fx: Mean<f64>,

source§

impl<K> Mean<Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>> for GaussianProcessPrediction<K>
where K: Kernel,

source§

impl<T> Mean<f64> for DiscreteUniform<T>
where T: DuParam + SampleUniform + Into<f64>,