[][src]Trait rand::distributions::IndependentSample

pub trait IndependentSample<Support>: Sample<Support> {
    fn ind_sample<R>(&self, &mut R) -> Support
    where
        R: Rng
; }

Samples that do not require keeping track of state.

Since no state is recorded, each sample is (statistically) independent of all others, assuming the Rng used has this property.

Required methods

fn ind_sample<R>(&self, &mut R) -> Support where
    R: Rng

Generate a random value.

Loading content...

Implementors

impl IndependentSample<f64> for Gamma
[src]

impl IndependentSample<f64> for StudentT
[src]

impl IndependentSample<f64> for LogNormal
[src]

impl IndependentSample<f64> for Normal
[src]

impl IndependentSample<f64> for FisherF
[src]

impl IndependentSample<f64> for Exp
[src]

impl IndependentSample<f64> for ChiSquared
[src]

impl<'a, T> IndependentSample<T> for WeightedChoice<'a, T> where
    T: Clone
[src]

impl<Sup> IndependentSample<Sup> for Range<Sup> where
    Sup: SampleRange
[src]

impl<Sup> IndependentSample<Sup> for RandSample<Sup> where
    Sup: Rand
[src]

Loading content...