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 Normal
impl Sample<f64> for StudentT
impl Sample<f64> for Gamma
impl Sample<f64> for Exp
impl Sample<f64> for ChiSquared
impl Sample<f64> for FisherF
impl<'a, T> Sample<T> for WeightedChoice<'a, T> where
T: Clone,impl Sample<f64> for LogNormal