[−][src]Trait rand::distributions::IndependentSample
Deprecated since 0.5.0
: use Distribution instead
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
Deprecated since 0.5.0
: use Distribution instead
Generate a random value.
Implementors
impl IndependentSample<f64> for Exp[src]
impl IndependentSample<f64> for Expfn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64Deprecated since 0.5.0
: use Distribution instead
impl IndependentSample<f64> for Gamma[src]
impl IndependentSample<f64> for Gammafn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64Deprecated since 0.5.0
: use Distribution instead
impl IndependentSample<f64> for ChiSquared[src]
impl IndependentSample<f64> for ChiSquaredfn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64Deprecated since 0.5.0
: use Distribution instead
impl IndependentSample<f64> for FisherF[src]
impl IndependentSample<f64> for FisherFfn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64Deprecated since 0.5.0
: use Distribution instead
impl IndependentSample<f64> for StudentT[src]
impl IndependentSample<f64> for StudentTfn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64Deprecated since 0.5.0
: use Distribution instead
impl IndependentSample<f64> for Normal[src]
impl IndependentSample<f64> for Normalfn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64Deprecated since 0.5.0
: use Distribution instead
impl IndependentSample<f64> for LogNormal[src]
impl IndependentSample<f64> for LogNormalfn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64Deprecated since 0.5.0
: use Distribution instead
impl<'a, T: Clone> IndependentSample<T> for WeightedChoice<'a, T>[src]
impl<'a, T: Clone> IndependentSample<T> for WeightedChoice<'a, T>fn ind_sample<R: Rng>(&self, rng: &mut R) -> T[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> TDeprecated since 0.5.0
: use Distribution instead
impl<T: SampleRange> IndependentSample<T> for Range<T>[src]
impl<T: SampleRange> IndependentSample<T> for Range<T>fn ind_sample<R: Rng>(&self, rng: &mut R) -> T[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> TDeprecated since 0.5.0
: use Distribution instead