Crate probability[−][src]
A probability-theory toolbox.
Example
use probability::prelude::*; let mut source = source::default(); let distribution = Uniform::new(0.0, 1.0); let sampler = Independent(&distribution, &mut source); let samples = sampler.take(10).collect::<Vec<_>>();
Modules
distribution | Probability distributions. |
prelude | Re-exports of commonly used entities. |
sampler | Samplers of random numbers. |
source | Sources of randomness. |