Struct rand_distr::NormalInverseGaussian
source · [−]pub struct NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>, { /* private fields */ }
Expand description
Implementations
impl<F> NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F> NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
Construct a new NormalInverseGaussian
distribution with the given alpha (tail heaviness) and
beta (asymmetry) parameters.
Trait Implementations
impl<F: Clone> Clone for NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F: Clone> Clone for NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F: Debug> Debug for NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F: Debug> Debug for NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F> Distribution<F> for NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
impl<F> Distribution<F> for NormalInverseGaussian<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 NormalInverseGaussian<F> where
F: Float,
StandardNormal: Distribution<F>,
Standard: Distribution<F>,
Auto Trait Implementations
impl<F> RefUnwindSafe for NormalInverseGaussian<F> where
F: RefUnwindSafe,
impl<F> Send for NormalInverseGaussian<F> where
F: Send,
impl<F> Sync for NormalInverseGaussian<F> where
F: Sync,
impl<F> Unpin for NormalInverseGaussian<F> where
F: Unpin,
impl<F> UnwindSafe for NormalInverseGaussian<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more