Struct rand_distr::InverseGaussian
source · [−]pub struct InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>, { /* private fields */ }
Expand description
Implementations
impl<F> InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F> InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
Construct a new InverseGaussian
distribution with the given mean and
shape.
Trait Implementations
impl<F: Clone> Clone for InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F: Clone> Clone for InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F: Debug> Debug for InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F: Debug> Debug for InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F> Distribution<F> for InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F> Distribution<F> for InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
Generate a random value of T
, using rng
as the source of randomness.
fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>ⓘ where
R: Rng,
fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>ⓘ where
R: Rng,
Create an iterator that generates random values of T
, using rng
as
the source of randomness. Read more
impl<F: Copy> Copy for InverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
Auto Trait Implementations
impl<F> RefUnwindSafe for InverseGaussian<F> where
F: RefUnwindSafe,
impl<F> Send for InverseGaussian<F> where
F: Send,
impl<F> Sync for InverseGaussian<F> where
F: Sync,
impl<F> Unpin for InverseGaussian<F> where
F: Unpin,
impl<F> UnwindSafe for InverseGaussian<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more