Enum peroxide::statistics::dist::OPDist
source · pub enum OPDist<T: PartialOrd + SampleUniform + Copy + Into<f64>> {
Bernoulli(T),
StudentT(T),
}
Expand description
Variants§
Trait Implementations§
source§impl<T: Clone + PartialOrd + SampleUniform + Copy + Into<f64>> Clone for OPDist<T>
impl<T: Clone + PartialOrd + SampleUniform + Copy + Into<f64>> Clone for OPDist<T>
source§impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Debug for OPDist<T>
impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Debug for OPDist<T>
source§impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> ParametricDist for OPDist<T>
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> ParametricDist for OPDist<T>
source§impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Printable for OPDist<T>
impl<T: Debug + PartialOrd + SampleUniform + Copy + Into<f64>> Printable for OPDist<T>
source§impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for OPDist<T>
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> RNG for OPDist<T>
RNG for OPDist
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
source§impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> Statistics for OPDist<T>
impl<T: PartialOrd + SampleUniform + Copy + Into<f64>> Statistics for OPDist<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for OPDist<T>where
T: RefUnwindSafe,
impl<T> Send for OPDist<T>where
T: Send,
impl<T> Sync for OPDist<T>where
T: Sync,
impl<T> Unpin for OPDist<T>where
T: Unpin,
impl<T> UnwindSafe for OPDist<T>where
T: UnwindSafe,
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