Probability
The package provides a probability-theory toolbox.
Example
use *;
let mut source = default;
let distribution = new;
let sampler = Independent;
let samples = sampler.take.;
Sources of randomness are provided by the random
crate via the
source
module. In addition, one can make use of those sources that are
available in the rand
crate as illustrated below:
use *;
;
let mut source = Source;
let distribution = new;
let sampler = Independent;
let samples = sampler.take.;
Contribution
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.