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
Steven Watanabe
b9f17bed6b
Change shfit2 to shift2. Add missing namespace scope definitions of shift1 and shift2. Fixes #2764
...
[SVN r51311]
2009-02-18 17:54:27 +00:00
Steven Watanabe
c1c5c98651
correctly detect the end of the range in lagged_fibonacci_01::seed. Fixes #2703
...
[SVN r51120]
2009-02-08 23:50:56 +00:00
Steven Watanabe
917c2d45b1
Make validation a static member function. Fixes #2673
...
[SVN r50997]
2009-02-03 19:18:59 +00:00
Marshall Clow
9ef9354097
Applied patch from bug #1546
...
[SVN r50312]
2008-12-18 02:37:07 +00:00
John Maddock
f667a1e945
Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
...
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.
Fixes #2392 .
[SVN r49254]
2008-10-10 16:10:00 +00:00
Steven Watanabe
1d7cbef7e2
Replace random's make_unsigned with the type_traits version. Fixes #2026
...
[SVN r46580]
2008-06-21 16:07:44 +00:00
Marshall Clow
9512b57937
Updated bounds on uniform_real and uniform_smallint to allow min == max
...
[SVN r44897]
2008-04-29 20:16:19 +00:00
Marshall Clow
e1fcb34b32
Patches to fixe #1423 and #1473
...
[SVN r42141]
2007-12-18 18:33:55 +00:00