Trait sgx_rand::distributions::IndependentSample
source · [−]pub trait IndependentSample<Support>: Sample<Support> {
fn ind_sample<R: Rng>(&self, rng: &mut R) -> Support;
}
Expand description
Sample
s 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
sourcefn ind_sample<R: Rng>(&self, rng: &mut R) -> Support
fn ind_sample<R: Rng>(&self, rng: &mut R) -> Support
Generate a random value.