Trait peroxide::statistics::dist::RNG [−][src]
pub trait RNG { fn sample(&self, n: usize) -> Vec<f64>; fn pdf<S: PartialOrd + SampleUniform + Copy + Into<f64>>(&self, x: S) -> f64; fn cdf<S: PartialOrd + SampleUniform + Copy + Into<f64>>(&self, x: S) -> f64; }
Expand description
Required methods
Implementors
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for OPDist<T>
[src]
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for OPDist<T>
[src]RNG for OPDist
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for TPDist<T>
[src]
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for TPDist<T>
[src]RNG for TPDist