2
0
mirror of https://github.com/boostorg/random.git synced 2026-02-08 23:12:13 +00:00
Commit Graph

231 Commits

Author SHA1 Message Date
Steven Watanabe
02a9498948 Add the old names of the generators for backward compatibility.
[SVN r63549]
2010-07-03 17:52:16 +00:00
Steven Watanabe
c41aabe99a Some doc cleanup.
[SVN r63370]
2010-06-26 20:42:30 +00:00
Steven Watanabe
cf886a330f Fix a few typos and copy/paste errors.
[SVN r63331]
2010-06-26 00:15:56 +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
f702db6d89 Sync shuffle_order_engine with C++0x.
[SVN r63327]
2010-06-25 21:23:20 +00:00
Steven Watanabe
581361f3df Extend operator workarounds to Sun CC.
[SVN r63310]
2010-06-25 16:35:06 +00:00
Steven Watanabe
1daedf4f9c Attempt to fix Sun CC's problems with rand48.
[SVN r63292]
2010-06-24 18:03:17 +00:00
Steven Watanabe
526d371c03 Attempt to fix msvc-7.1 errors in subtract_with_carry.
[SVN r63286]
2010-06-24 15:58:41 +00:00
Steven Watanabe
11b2a55baa Fix shadowing of template parameters in linear_congruential_engine. Fixes #4371.
[SVN r63284]
2010-06-24 14:34:42 +00:00
Steven Watanabe
b3915ef6b1 Sync ranlux with C++0x.
[SVN r63279]
2010-06-24 03:57:42 +00:00
Steven Watanabe
cae34bd24a Sync discard_block with C++0x.
[SVN r63278]
2010-06-24 03:05:45 +00:00
Steven Watanabe
b32280f5fa A few more fixes for msvc-7.1
[SVN r63276]
2010-06-24 00:44:28 +00:00
Steven Watanabe
89530779e6 Sync subtract_with_carry with C++0x.
[SVN r63274]
2010-06-24 00:25:52 +00:00
Steven Watanabe
a06b888c94 Sync linear_congruential with C++0x.
[SVN r63270]
2010-06-23 20:55:43 +00:00
Steven Watanabe
978a83d8d1 Add missing using for Sun.
[SVN r63261]
2010-06-23 18:47:56 +00:00
Steven Watanabe
c5cdd46089 Some optimizations to mersenne_twister.
[SVN r63260]
2010-06-23 18:15:27 +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
e9b6830669 Fix vc71 errors, take 2.
[SVN r63240]
2010-06-22 15:29:59 +00:00
Steven Watanabe
3303ce69bc Sync mersenne_twister with C++0x.
[SVN r63217]
2010-06-22 02:30:09 +00:00
Steven Watanabe
a46d157029 Attempt to fix Sun and msvc-7.1 errors.
[SVN r63188]
2010-06-21 15:13:11 +00:00
Steven Watanabe
2c7387f6ae Implement discrete_distribution. Fixes #920.
[SVN r63180]
2010-06-21 04:03:55 +00:00
Steven Watanabe
e8a792c155 Fix another integer overflow problem.
[SVN r63155]
2010-06-20 19:06:56 +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
94d50aa090 Fix integer overflow bug.
[SVN r63101]
2010-06-19 14:55:52 +00:00
Steven Watanabe
0bfc67b8fd Fix my floor silliness. e.g. int(-0.5) != floor(-0.5)
[SVN r63092]
2010-06-19 04:31:28 +00:00
Steven Watanabe
e7e3a4a676 Reimplement binomial_distribution.
[SVN r63088]
2010-06-18 22:05:11 +00:00
Steven Watanabe
463e1d4e0f Check for range errors in the input operator of linear_congruential. Fixes #2667
[SVN r62548]
2010-06-08 04:03:58 +00:00
Steven Watanabe
c11219f596 Make sure that all members are initialized. Fixes #4085
[SVN r62545]
2010-06-08 03:21:28 +00:00
Steven Watanabe
e5359a15b0 Try to help out borland
[SVN r60619]
2010-03-15 17:18:52 +00:00
Steven Watanabe
e318ab4bf2 Attempt to fix Sun CC 5.10 failures
[SVN r60615]
2010-03-15 16:46:53 +00:00
Steven Watanabe
eba3181c16 Fix remaining broken links
[SVN r60391]
2010-03-09 23:15:18 +00:00
Steven Watanabe
2356b3bef8 Fix a minor typo
[SVN r60353]
2010-03-08 16:03:20 +00:00
Steven Watanabe
2e4c0f628c Make statistics_tests usable with the current library
[SVN r60279]
2010-03-07 05:22:40 +00:00
Steven Watanabe
bef66181dd Fix dll linking
[SVN r60210]
2010-03-05 19:56:52 +00:00
Steven Watanabe
bc73588c7e Rearrange the componenents in libs/random and create a library for random_device. Fixes #3672
[SVN r60199]
2010-03-05 19:12:45 +00:00
Steven Watanabe
2248892f09 Add Quickbook/Doxygen documentation
[SVN r59910]
2010-02-25 18:13:36 +00:00
Marshall Clow
f3aa639a1f Fixed shadow warnings reported in ticket 3710
[SVN r58148]
2009-12-04 22:22:01 +00:00
Steven Watanabe
330c6db3cb Fix min/max problems
[SVN r57717]
2009-11-16 23:38:21 +00:00
Steven Watanabe
6e35d9a732 Allow arbitrary values to be used as seeds for linear_congruential, linear_feedback_shift, and any generators that depend on them. Fixes #3516
[SVN r57663]
2009-11-14 21:07:31 +00:00
Steven Watanabe
af6a0d558a Disable some warnings for msvc. Fixes #3532
[SVN r57008]
2009-10-19 22:53:04 +00:00
Steven Watanabe
7dda7d38bb Supress warnings from narrowing conversions.
[SVN r53888]
2009-06-14 02:33:22 +00:00
Steven Watanabe
ac8bfba53a misc assertions/tests
[SVN r53802]
2009-06-12 00:24:09 +00:00
Steven Watanabe
05846ff977 Fix overload resolution for generator constructors/seed. Fixes #351. Fixes #2424. Fixes #2887
[SVN r53699]
2009-06-06 19:41:38 +00:00
Steven Watanabe
b9a410339d Fix the distribution of uniform_int.
[SVN r53462]
2009-05-30 16:38:53 +00:00
Jeremiah Willcock
d2f73925af Fixed most tab and min/max issues from trunk inspection report
[SVN r53141]
2009-05-20 19:19:00 +00:00
Steven Watanabe
dfabc22362 Add missing includes.
[SVN r52425]
2009-04-16 18:16:50 +00:00
Steven Watanabe
a2ba8e2ac8 Enable stream operators on msvc. Fixes #1068. Fixes #1691
[SVN r51413]
2009-02-23 15:48:27 +00:00
Steven Watanabe
5f1713f436 Initialize _modulus in the linear_congruential constructor that takes a pair of iterators. Fixes #2665
[SVN r51410]
2009-02-23 01:19:37 +00:00
Steven Watanabe
86aad2f7f7 Convert uniform_01 to the current distribution interface, dispatching on the first template paramter to retain backwards compatibility. Fixes #599. Fixes #1544. Fixes #2679
[SVN r51337]
2009-02-19 23:27:40 +00:00