about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-09 03:41:27 -0800
committerbors <bors@rust-lang.org>2013-12-09 03:41:27 -0800
commita417dbd1c71c168fe7db71efb98d22b5e22dcce1 (patch)
treecf34353237d7ef5ec0f93919d459f80a19222e15 /src/rustllvm/RustWrapper.cpp
parente5f20212028fd6cb5161dbb2c0f14c9d94f1caea (diff)
parent705b705ba5182745e12652dc7eeeb10828f520d0 (diff)
downloadrust-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