[−][src]Trait rand::distributions::Sample
Deprecated since 0.5.0
: use Distribution instead
Types that can be used to create a random instance of Support
.
Required Methods
fn sample<R: Rng>(&mut self, rng: &mut R) -> Support
Deprecated since 0.5.0
: use Distribution instead
Generate a random value of Support
, using rng
as the
source of randomness.
Implementors
impl Sample<f64> for Exp
[src]
impl Sample<f64> for Exp
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Deprecated since 0.5.0
: use Distribution instead
impl Sample<f64> for Gamma
[src]
impl Sample<f64> for Gamma
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Deprecated since 0.5.0
: use Distribution instead
impl Sample<f64> for ChiSquared
[src]
impl Sample<f64> for ChiSquared
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Deprecated since 0.5.0
: use Distribution instead
impl Sample<f64> for FisherF
[src]
impl Sample<f64> for FisherF
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Deprecated since 0.5.0
: use Distribution instead
impl Sample<f64> for StudentT
[src]
impl Sample<f64> for StudentT
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Deprecated since 0.5.0
: use Distribution instead
impl Sample<f64> for Normal
[src]
impl Sample<f64> for Normal
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Deprecated since 0.5.0
: use Distribution instead
impl Sample<f64> for LogNormal
[src]
impl Sample<f64> for LogNormal
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Deprecated since 0.5.0
: use Distribution instead
impl<'a, T: Clone> Sample<T> for WeightedChoice<'a, T>
[src]
impl<'a, T: Clone> Sample<T> for WeightedChoice<'a, T>
impl<T: SampleRange> Sample<T> for Range<T>
[src]
impl<T: SampleRange> Sample<T> for Range<T>