Trait rand::distributions::IndependentSample  [−][src]
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, 
R: Rng,
Generate a random value.
Implementors
impl<'a, T> IndependentSample<T> for WeightedChoice<'a, T> where
T: Clone,impl<Sup> IndependentSample<Sup> for RandSample<Sup> where
Sup: Rand,impl IndependentSample<f64> for Expimpl IndependentSample<f64> for Normalimpl IndependentSample<f64> for Gammaimpl IndependentSample<f64> for FisherFimpl<Sup> IndependentSample<Sup> for Range<Sup> where
Sup: SampleRange,impl IndependentSample<f64> for ChiSquaredimpl IndependentSample<f64> for StudentTimpl IndependentSample<f64> for LogNormal