rust/src/libstd/rand
bors c15038db08 auto merge of #10223 : huonw/rust/gamma, r=cmr
Implements the [Gamma distribution](https://en.wikipedia.org/wiki/Gamma_distribution), using the algorithm described by Marsaglia & Tsang 2000[1]. I added tests checking that the mean and variance of this implementation is as expected for a range of values of the parameters in 5d87c00a0f (they pass locally, but obviously won't even build on Travis until this is merged).

Also, moves `std::rand::distributions` to a subfolder, and performs a minor clean-up of the benchmarking (makes the number of iterations shared by the whole `std::rand` subtree).

[1]: George Marsaglia and Wai Wan Tsang. 2000. "A Simple Method for Generating Gamma Variables" *ACM Trans. Math. Softw.* 26, 3 (September 2000), 363-372. DOI:[10.1145/358407.358414](http://doi.acm.org/10.1145/358407.358414).
2013-11-01 18:36:42 -07:00
..
distributions std::rand: share the benchmark counter among the whole module tree. 2013-11-01 22:09:06 +11:00
isaac.rs auto merge of #9810 : huonw/rust/rand3, r=alexcrichton 2013-10-23 08:31:21 -07:00
mod.rs std::rand: share the benchmark counter among the whole module tree. 2013-11-01 22:09:06 +11:00
os.rs std::rand: documentation & references. 2013-10-23 10:40:06 +11:00
rand_impls.rs std::rand: Make Rng.next_u32 non-default, waiting for #7771. 2013-10-09 22:22:44 +11:00
reader.rs Remove the extension traits for Readers/Writers 2013-10-28 10:16:45 -07:00
reseeding.rs Fix infinite recursion in fill_bytes() 2013-10-31 21:19:47 -05:00