Implements a full suite of random number distributions sampling routines.
This crate is a super-set of the rand::distributions module, including support for sampling from Beta, Binomial, Cauchy, ChiSquared, Dirichlet, exponential, Fisher F, Gamma, Log-normal, Normal, Pareto, Poisson, StudentT, Triangular and Weibull distributions, as well as sampling points from the unit circle and unit sphere surface.
It is worth mentioning the statrs crate which provides similar functionality along with various support functions, including PDF and CDF computation. In contrast, this
rand_distr crate focusses on sampling from distributions.
Unlike most Rand crates,
rand_distr does not currently support
rand_distr is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.