Commit Graph

57 Commits

Author SHA1 Message Date
Justinas V. Daugmaudis
3db2d7cb71 Initial QRNG commit 2018-02-18 10:49:14 +02:00
Steven Watanabe
89174b6ca3 Add hyperexponential_distribution. Contributed by Marco Guazzone. 2015-04-01 10:08:06 -06:00
jzmaddock
839acad329 Get multiprecision floating point support working, and add test case. 2015-03-14 18:06:14 +00:00
Steven Watanabe
25cef713f9 Add non-central chi-squared distribution contributed by Thijs van den Berg. 2014-04-08 17:47:01 -07:00
Steven Watanabe
2edb377b13 Add laplace_distribution. Refs #6804. 2014-03-13 17:06:52 -07:00
Steven Watanabe
b7fae47331 Add beta_distribution. Refs #6804. 2014-03-13 16:13:35 -07:00
Steven Watanabe
16b73cb3a7 Optimize uniform_on_sphere for dims <= 3. Fixes #1059. 2014-03-12 17:31:23 -07:00
Marshall Clow
ae12937978 Fix behavior with zero seed re: '26.5.3.3 [rand.eng.sub]/7'; thanks to stl@microsoft for the report; Refs #7951
[SVN r82664]
2013-01-30 06:42:36 +00:00
Steven Watanabe
cb6b4f1ffb Warning patrol
[SVN r70017]
2011-03-16 03:24:42 +00:00
Steven Watanabe
96113f9e2c Update the last tests left in random_test.cpp and move them to the appropriate places.
[SVN r69991]
2011-03-14 23:37:39 +00:00
Steven Watanabe
0a430d620a Move random_number_generator into namespace random, tweak the implementation a bit, and add a test case.
[SVN r69978]
2011-03-14 20:38:12 +00:00
Steven Watanabe
6962916b79 Implement generate_canonical.
[SVN r68813]
2011-02-12 18:06:40 +00:00
Steven Watanabe
b5b8a2d4df Implement independent_bits_engine.
[SVN r68804]
2011-02-12 15:28:53 +00:00
Steven Watanabe
466c39c392 Make sure all engines are tested. Kill validate.cpp, since its functionality is now covered by the main generator tests.
[SVN r68784]
2011-02-11 20:13:48 +00:00
Steven Watanabe
edf89f7503 Move all generator tests to the new framework.
[SVN r68783]
2011-02-11 19:16:29 +00:00
Steven Watanabe
67843975c0 Update xor_combine to match C++0x. min/max are still broken.
[SVN r68767]
2011-02-11 01:16:34 +00:00
Steven Watanabe
c646f4babb Update linear_feedback_shift_engine to match C++0x.
[SVN r68759]
2011-02-10 03:30:27 +00:00
Steven Watanabe
0908708463 Update lagged_fibonacci to match C++0x.
[SVN r68754]
2011-02-09 22:34:46 +00:00
Steven Watanabe
c78729ebf5 Update inversive_congruential.
[SVN r68748]
2011-02-09 19:19:25 +00:00
Steven Watanabe
3cfc38c4f7 Fix const_mod to work in all cases.
[SVN r68747]
2011-02-09 16:49:49 +00:00
Steven Watanabe
de24e82891 Update additive_combine.
[SVN r68727]
2011-02-08 17:46:48 +00:00
Steven Watanabe
411eeb9c26 Update uniform_int and uniform_real.
[SVN r68647]
2011-02-05 05:54:11 +00:00
Steven Watanabe
b2bfbc0b75 Update uniform_smallint.
[SVN r68644]
2011-02-05 01:15:56 +00:00
Steven Watanabe
70ee378773 Update uniform_on_sphere.
[SVN r68631]
2011-02-03 21:16:56 +00:00
Steven Watanabe
23761be280 Add uniform_real_distribution to match C++0x.
[SVN r68444]
2011-01-25 20:08:07 +00:00
Steven Watanabe
a9a48b3330 Add uniform_int_distribution to match C++0x.
[SVN r68440]
2011-01-25 19:16:54 +00:00
Steven Watanabe
f051b0730e Update triangle_distribution to match C++0x.
[SVN r68428]
2011-01-25 01:17:50 +00:00
Steven Watanabe
1744f7c612 Update lognormal_distribution to match C++0x.
[SVN r68424]
2011-01-24 21:18:40 +00:00
Steven Watanabe
664bef0373 Update geometric_distribution to match C++0x.
[SVN r68410]
2011-01-24 06:28:59 +00:00
Steven Watanabe
0109f6e645 Update cauchy_distribution to match C++0x.
[SVN r68406]
2011-01-23 23:33:41 +00:00
Steven Watanabe
8b1fda2098 Update bernoulli_distribution to match C++0x.
[SVN r68375]
2011-01-23 02:14:26 +00:00
Steven Watanabe
28d9e4da2b Update exponential_distribution to C++0x.
[SVN r68372]
2011-01-22 21:44:25 +00:00
Steven Watanabe
77de6f88c3 Fix Jamfile typo.
[SVN r68326]
2011-01-20 21:16:27 +00:00
Bryce Adelstein-Lelbach
89deda5188 Reverting some accident changes to a few jamfiles from my last commit.
[SVN r68141]
2011-01-14 02:51:17 +00:00
Bryce Adelstein-Lelbach
4dfd9025ef Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Steven Watanabe
7623f1b6ef Implement piecewise_linear_distribution.
[SVN r68028]
2011-01-12 04:53:08 +00:00
Steven Watanabe
fc5e34a947 Start refactoring tests again.
[SVN r67761]
2011-01-07 18:48:53 +00:00
Steven Watanabe
8cda7a96af Implement piecewise_constant_distribution.
[SVN r67740]
2011-01-06 23:51:46 +00:00
Steven Watanabe
836da38bf7 Update normal_distribution to match C++0x. Implement student_t_distribution.
[SVN r67710]
2011-01-06 02:53:00 +00:00
Steven Watanabe
dced4df44a Implement fisher_f_distribution.
[SVN r67694]
2011-01-05 22:42:36 +00:00
Steven Watanabe
1845d03376 Implement chi_squared_distribution.
[SVN r67669]
2011-01-05 05:17:37 +00:00
Steven Watanabe
7c3fcb24dc Implement negative_binomial_distribution.
[SVN r65157]
2010-08-31 20:07:59 +00:00
Steven Watanabe
4855688a63 Add extreme_value_distribution.
[SVN r63330]
2010-06-25 23:53:34 +00:00
Steven Watanabe
aab4ff005f Add weibull_distribution.
[SVN r63328]
2010-06-25 22:22:53 +00:00
Steven Watanabe
b3915ef6b1 Sync ranlux with C++0x.
[SVN r63279]
2010-06-24 03:57:42 +00:00
Steven Watanabe
e580086e65 Sync gamma_distribution with C++0x. Fixes #3888.
[SVN r63247]
2010-06-22 20:22:41 +00:00
Steven Watanabe
3303ce69bc Sync mersenne_twister with C++0x.
[SVN r63217]
2010-06-22 02:30:09 +00:00
Steven Watanabe
2c7387f6ae Implement discrete_distribution. Fixes #920.
[SVN r63180]
2010-06-21 04:03:55 +00:00
Steven Watanabe
773e647806 Better implementation of the poisson distribution. Fixes #1540.
[SVN r63126]
2010-06-20 03:24:28 +00:00
Steven Watanabe
e7e3a4a676 Reimplement binomial_distribution.
[SVN r63088]
2010-06-18 22:05:11 +00:00