Daniela Engert
|
e75d0b99b9
|
Replace deprecated/removed C++98 std::bind2nd by a custom function object, and ignore tests focussing on std::random_shuffle.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2017-05-13 19:24:05 +02:00 |
|
Steven Watanabe
|
18099e4a11
|
Suppress conversion warning.
|
2016-02-19 10:45:05 -07:00 |
|
Steven Watanabe
|
fdd3073448
|
Suppress warning.
|
2016-02-18 12:57:06 -07:00 |
|
Steven Watanabe
|
29e8bd59a2
|
Add a missing break for one dimensional case of uniform_on_sphere. Fixes #11454.
|
2016-02-13 13:55:27 -07: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 |
|
jzmaddock
|
d4514f1e07
|
Fix integer distributions for multiprecision support, and add support for one multiprecision generator (independent_bits_engine).
Added test case for multiprecision integers.
|
2015-03-14 18:05:23 +00:00 |
|
Steven Watanabe
|
a8aed49f29
|
Use the right upper bound for the exponent.
|
2014-04-12 11:26:16 -07: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
|
39d05f0161
|
Optimized algorithm for mersenne_twister_engine::discard. Fixes #6706.
|
2014-04-05 11:22: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
|
c0a694e8d9
|
Avoid overflow. Fixes #8351.
|
2014-03-13 14:50:17 -07:00 |
|
Steven Watanabe
|
dbb7b3cfaa
|
Handle integer weights in discrete_distribution. FIxes #6022.
|
2014-03-13 13:17:28 -07:00 |
|
Steven Watanabe
|
16b73cb3a7
|
Optimize uniform_on_sphere for dims <= 3. Fixes #1059.
|
2014-03-12 17:31:23 -07:00 |
|
Steven Watanabe
|
5b3f1c7fe6
|
Avoid generating NaNs. Fixes #7779.
[SVN r82936]
|
2013-02-16 20:30:51 +00: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 |
|
Marshall Clow
|
caf462a816
|
Switch from deprecated macros to new shiny ones; no functionality change
[SVN r79389]
|
2012-07-09 19:50:17 +00:00 |
|
Steven Watanabe
|
030fe2f938
|
Remove unnecessary #include. Fixes #6344.
[SVN r78511]
|
2012-05-19 13:14:28 +00:00 |
|
Marshall Clow
|
1bcaa72324
|
Updated Boost.Random to use BOOST_NO_0X_HDR_INITIALIZER_LIST instead of (soon to be deprecated) BOOST_NO_INITIALIZER_LISTS
[SVN r77152]
|
2012-03-02 16:16:45 +00:00 |
|
Steven Watanabe
|
ceddb09af4
|
Update seed_seq to match the final draft.
[SVN r74482]
|
2011-09-20 22:59:42 +00:00 |
|
Steven Watanabe
|
db825889d8
|
Use the right variable. Fixes #5767.
[SVN r74169]
|
2011-08-30 21:14:01 +00:00 |
|
Steven Watanabe
|
56e40890ca
|
geometric_distribution::min should be 0. Fixes #5704.
[SVN r74168]
|
2011-08-30 19:31:43 +00:00 |
|
Steven Watanabe
|
7b6a46822b
|
Replace the precision() member for floating point generators with a traits class. This function was intended to be an implementation detail, but user defined generators had to implement it.
[SVN r72826]
|
2011-06-30 22:27:53 +00:00 |
|
Steven Watanabe
|
cb6b4f1ffb
|
Warning patrol
[SVN r70017]
|
2011-03-16 03:24:42 +00:00 |
|
Steven Watanabe
|
544fc7e4e1
|
Make sure that the type of the seed argument is consistent with the standard for all generators. Eliminate the odd rand48 seeding rules.
[SVN r69995]
|
2011-03-15 00:47:25 +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
|
d096eb569f
|
Make seeding more consistent and add some tests to lock down the algorithms.
[SVN r69912]
|
2011-03-13 04:49:34 +00:00 |
|
Steven Watanabe
|
21d66a0a2c
|
Fix problems reported by inspect.
[SVN r68817]
|
2011-02-12 20:03:17 +00:00 |
|
Steven Watanabe
|
6858fa9514
|
Update random_device.
[SVN r68814]
|
2011-02-12 18:41:28 +00:00 |
|
Steven Watanabe
|
6962916b79
|
Implement generate_canonical.
[SVN r68813]
|
2011-02-12 18:06:40 +00:00 |
|
Steven Watanabe
|
8117e68595
|
Use INT64_C where appropriate. This should fix some vacpp and gcc 3.4.6 errors.
[SVN r68808]
|
2011-02-12 15:48:51 +00:00 |
|
Steven Watanabe
|
b5b8a2d4df
|
Implement independent_bits_engine.
[SVN r68804]
|
2011-02-12 15:28:53 +00:00 |
|
Steven Watanabe
|
9bce32507a
|
Reduce the default number of trials, so the tests complete in a reasonable amount of time.
[SVN r68787]
|
2011-02-11 21:09:46 +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
|
67d7b20f57
|
Refactor distribution tests. Remove spurious dependency on boost/random.hpp
[SVN r68770]
|
2011-02-11 02:13:59 +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 |
|