Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rand_distr crate #761

Merged
merged 11 commits into from Apr 3, 2019
7 changes: 4 additions & 3 deletions rand_distr/README.md
Expand Up @@ -11,9 +11,10 @@
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, Cauchy, ChiSquared, Dirichlet, exponential, Fisher F,
Gamma, Log-normal, Normal, Pareto, Poisson, StudentT, Triangular, Circle,
Sphere and Weibull distributions.
for sampling from Beta, Binomial, Cauchy, CircleChiSquared, Dirichlet, exponential,
vks marked this conversation as resolved.
Show resolved Hide resolved
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
Expand Down
1 change: 1 addition & 0 deletions src/distributions/float.rs
Expand Up @@ -69,6 +69,7 @@ pub struct OpenClosed01;
pub struct Open01;


// This trait is needed by both this lib and rand_distr hence is a hidden export
#[doc(hidden)]
pub trait IntoFloat {
vks marked this conversation as resolved.
Show resolved Hide resolved
type F;
Expand Down