1 unstable release
✓ Uses Rust 2018 edition
|0.2.2||Sep 9, 2019|
#53 in Algorithms
2,662 downloads per month
Used in 39 crates (30 directly)
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
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).