Trait rand::distributions::IndependentSample
[−]
[src]
pub trait IndependentSample<Support>: Sample<Support> {
fn ind_sample<R: Rng>(&self, &mut R) -> Support;
}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: Rng>(&self, &mut R) -> Support
Generate a random value.
Implementors
impl<Sup: SampleRange> IndependentSample for Range<Sup>impl IndependentSample for Gammaimpl IndependentSample for ChiSquaredimpl IndependentSample for FisherFimpl IndependentSample for StudentTimpl IndependentSample for Normalimpl IndependentSample for LogNormalimpl IndependentSample for Expimpl<Sup: Rand> IndependentSample for RandSample<Sup>impl<'a, T: Clone> IndependentSample for WeightedChoice<'a, T>