Enum peroxide::statistics::dist::TPDist
source · pub enum TPDist<T: PartialOrd + SampleUniform + Copy + Into<f64>> {
Uniform(T, T),
Binomial(usize, T),
Normal(T, T),
Beta(T, T),
Gamma(T, T),
}
Expand description
Two parameter distribution
Distributions
Uniform(start, end)
: Uniform distributionNormal(mean, std)
: Normal distribution
Variants§
Trait Implementations§
source§impl<T: Clone + PartialOrd + SampleUniform + Copy + Into<f64>> Clone for TPDist<T>
impl<T: Clone + PartialOrd + SampleUniform + Copy + Into<f64>> Clone for TPDist<T>
source§impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Debug for TPDist<T>
impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Debug for TPDist<T>
source§impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> ParametricDist for TPDist<T>
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> ParametricDist for TPDist<T>
source§impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Printable for TPDist<T>
impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Printable for TPDist<T>
source§impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for TPDist<T>
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for TPDist<T>
RNG for TPDist
source§fn pdf<S: PartialOrd + SampleUniform + Copy + Into<f64>>(&self, x: S) -> f64
fn pdf<S: PartialOrd + SampleUniform + Copy + Into<f64>>(&self, x: S) -> f64
Probability Distribution Function Read more
source§fn cdf<S: PartialOrd + SampleUniform + Copy + Into<f64>>(&self, x: S) -> f64
fn cdf<S: PartialOrd + SampleUniform + Copy + Into<f64>>(&self, x: S) -> f64
Cumulative Distribution Function Read more