2
0
mirror of https://github.com/boostorg/random.git synced 2026-02-03 09:22:17 +00:00
Commit Graph

439 Commits

Author SHA1 Message Date
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
fabd860d65 Maybe fix sun?
[SVN r68806]
2011-02-12 15:31:42 +00:00
Steven Watanabe
b5b8a2d4df Implement independent_bits_engine.
[SVN r68804]
2011-02-12 15:28:53 +00:00
Steven Watanabe
a9f049de2a Codegear fixes.
[SVN r68789]
2011-02-11 22:07:04 +00:00
Steven Watanabe
46a47b2a9d Help pgi?
[SVN r68788]
2011-02-11 21:32:07 +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
b653381ac4 Fix constructor.
[SVN r68769]
2011-02-11 02:11:57 +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
b5be1f6d9e Factor out some common seeding code.
[SVN r68758]
2011-02-10 01:27:11 +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
a22d42305a Fix #include guard. Fixes #5171.
[SVN r68743]
2011-02-09 02:07:54 +00:00
Steven Watanabe
de24e82891 Update additive_combine.
[SVN r68727]
2011-02-08 17:46:48 +00:00
Steven Watanabe
5db9c081df Simplify variate_generator.
[SVN r68658]
2011-02-05 17:44:40 +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
9b72a50702 reduce the number of bins.
[SVN r68329]
2011-01-20 22:56:25 +00:00
Steven Watanabe
77de6f88c3 Fix Jamfile typo.
[SVN r68326]
2011-01-20 21:16:27 +00:00
Steven Watanabe
ebc4157205 Tighten up test_piecewise_linear.
[SVN r68315]
2011-01-20 05:46:49 +00:00
Steven Watanabe
30ee3e6cee Tighten test_piecewise_constant.
[SVN r68311]
2011-01-20 02:18:08 +00:00
Steven Watanabe
751ead66a4 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +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
f6951cd830 Concept test for distributions.
[SVN r68070]
2011-01-12 19:53:31 +00:00
Steven Watanabe
7623f1b6ef Implement piecewise_linear_distribution.
[SVN r68028]
2011-01-12 04:53:08 +00:00
Steven Watanabe
cee01dfcfa Fix piecewise_constant_distribution::param_type constructor with 1 interval boundary.
[SVN r67903]
2011-01-10 04:01:46 +00:00
Steven Watanabe
97fe018ee2 Fix piecewise_constant_distribution for C++0x.
[SVN r67878]
2011-01-09 20:11:07 +00:00
Steven Watanabe
333c6dd03f Loosen the test a little so it passes.
[SVN r67877]
2011-01-09 20:09:30 +00:00
Steven Watanabe
fd1d01e120 Get rid of undefined reference errors.
[SVN r67876]
2011-01-09 20:07:57 +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
cbc4f223c2 Make result_type public. Fixes #4777.
[SVN r66803]
2010-11-27 21:28:21 +00:00