diff options
| author | bors <bors@rust-lang.org> | 2013-12-09 03:41:27 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-09 03:41:27 -0800 |
| commit | a417dbd1c71c168fe7db71efb98d22b5e22dcce1 (patch) | |
| tree | cf34353237d7ef5ec0f93919d459f80a19222e15 /src/rustllvm/RustWrapper.cpp | |
| parent | e5f20212028fd6cb5161dbb2c0f14c9d94f1caea (diff) | |
| parent | 705b705ba5182745e12652dc7eeeb10828f520d0 (diff) | |
| download | rust-a417dbd1c71c168fe7db71efb98d22b5e22dcce1.tar.gz rust-a417dbd1c71c168fe7db71efb98d22b5e22dcce1.zip | |
auto merge of #10859 : huonw/rust/helper-dists, r=cmr
This moves `std::rand::distribitions::{Normal, StandardNormal}` to `...::distributions::normal`, reexporting `Normal` from `distributions` (and similarly for `Exp` and Exp1`), and adds:
- Log-normal
- Chi-squared
- F
- Student T
all of which are implemented in C++11's random library. Tests in https://github.com/huonw/random-tests/commit/0424b8aded5e608ae386c1f917934a726d9cac6a. Note that these are approximately half documentation & half implementation (of which a significant portion is boilerplate `}`'s and so on).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
