Trait rand::distributions::Sample
[−]
[src]
Types that can be used to create a random instance of Support.
Required Methods
fn sample<R>(&mut self, rng: &mut R) -> Support where
R: Rng,
R: Rng,
Generate a random value of Support, using rng as the
source of randomness.
Implementors
impl<Sup> Sample<Sup> for Range<Sup> where
Sup: SampleRange,impl<Sup> Sample<Sup> for RandSample<Sup> where
Sup: Rand,impl Sample<f64> for Normalimpl Sample<f64> for StudentTimpl Sample<f64> for Gammaimpl Sample<f64> for Expimpl Sample<f64> for ChiSquaredimpl Sample<f64> for FisherFimpl<'a, T> Sample<T> for WeightedChoice<'a, T> where
T: Clone,impl Sample<f64> for LogNormal