Module rand::distributions 
                   
                       [−]
                   
               [src]
Sampling from random distributions.
This is a generalization of Rand to allow parameters to control the
exact properties of the generated values, e.g. the mean and standard
deviation of a normal distribution. The Sample trait is the most
general, and allows for generating values that change some state
internally. The IndependentSample trait is for generating values
that do not need to record state.
Modules
| exponential | The exponential distribution. | 
| gamma | The Gamma and derived distributions. | 
| normal | The normal and derived distributions. | 
| range | Generating numbers between two others. | 
Structs
| ChiSquared | The chi-squared distribution  | 
| Exp | The exponential distribution  | 
| FisherF | The Fisher F distribution  | 
| Gamma | The Gamma distribution  | 
| LogNormal | The log-normal distribution  | 
| Normal | The normal distribution  | 
| RandSample | A wrapper for generating types that implement  | 
| Range | Sample values uniformly between two bounds. | 
| StudentT | The Student t distribution,  | 
| Weighted | A value with a particular weight for use with  | 
| WeightedChoice | A distribution that selects from a finite collection of weighted items. | 
Traits
| IndependentSample | 
 | 
| Sample | Types that can be used to create a random instance of  |