Steven Watanabe
dfa3cec512
Merge Random from the trunk
...
[SVN r62347]
2010-05-31 16:44:36 +00:00
Steven Watanabe
8cfc801c24
Merge Random from the trunk
...
[SVN r60755]
2010-03-22 00:45:06 +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
Steven Watanabe
9866e57184
Merge Random from the trunk. Fixes #3719
...
[SVN r58649]
2010-01-02 21:23:17 +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
615e38f704
Merge random from the trunk
...
[SVN r56814]
2009-10-14 04:54:01 +00:00
Steven Watanabe
7dda7d38bb
Supress warnings from narrowing conversions.
...
[SVN r53888]
2009-06-14 02:33:22 +00:00
Steven Watanabe
6ce516d9ed
Merge [53462], [53699], and [53800] from the trunk.
...
[SVN r53871]
2009-06-13 17:54:06 +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
d1a18ffcc9
Fixed almost all tab and min/max issues found by inspect tool
...
[SVN r53142]
2009-05-20 19:41:20 +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
92409dc95d
Merge [50997], [51120], [51171], [51210], [51253], [51311], [51337], [51400], [51410], [51413] from the trunk
...
[SVN r52492]
2009-04-19 14:55:57 +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
1fe2ce622e
Merged revisions 50312 via svnmerge from
...
https://svn.boost.org/svn/boost/trunk
........
r50312 | marshall | 2008-12-17 18:37:07 -0800 (Wed, 17 Dec 2008) | 1 line
Applied patch from bug #1546
........
[SVN r50601]
2009-01-15 03:43:36 +00:00
Marshall Clow
9ef9354097
Applied patch from bug #1546
...
[SVN r50312]
2008-12-18 02:37:07 +00:00
John Maddock
c949cb3781
Merge fixes from Trunk.
...
Fixes #2392 .
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.
[SVN r49314]
2008-10-13 09:00:03 +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
b80576bebb
Merge random from trunk
...
[SVN r47233]
2008-07-08 16:22:46 +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
f441c30dcd
Merge from trunk to release
...
[SVN r43713]
2008-03-19 00:02:06 +00:00
Marshall Clow
e1fcb34b32
Patches to fixe #1423 and #1473
...
[SVN r42141]
2007-12-18 18:33:55 +00:00
Beman Dawes
cf95897a2e
Full merge from trunk at revision 41356 of entire boost-root tree.
...
[SVN r41369]
2007-11-25 18:07:19 +00:00
Jens Maurer
c41b4d5bf5
we're actually using the Box-Muller method (with trigonometric functions)
...
[SVN r37704]
2007-05-17 08:37:54 +00:00
Jens Maurer
7fa86c3bdd
local variables should not shadow class members
...
[SVN r37032]
2007-02-21 20:29:57 +00:00
Jens Maurer
28303eb08a
sf.net bug #1665485 : local variables should not shadow class members
...
[SVN r37031]
2007-02-21 20:16:35 +00:00
Jens Maurer
b030f6c24d
sf.net bug #1665444 : local variables should not shadow class members
...
[SVN r37030]
2007-02-21 20:11:48 +00:00
Jens Maurer
b6d3961d00
rounding errors must not cause values outside of [0,1) (noted by Charles Karney)
...
[SVN r34877]
2006-08-11 23:17:07 +00:00
Jens Maurer
465a483356
address uniform_int<> signed/unsigned/overflow issues (noted by Charles Karney)
...
[SVN r34876]
2006-08-11 23:12:39 +00:00
Jens Maurer
8a47c06e6a
fix const-correctness bug (noticed by Roman Yakovenko)
...
[SVN r34875]
2006-08-11 21:36:11 +00:00
Jens Maurer
6458746820
fix sourceforge bug #1524016 : bad seed() implementation
...
[SVN r34600]
2006-07-19 21:51:23 +00:00
Matthias Troyer
598397852f
Fixed missing include according to bug # 1504417
...
[SVN r34430]
2006-06-30 06:38:11 +00:00
Jens Maurer
9b493b296a
fix bug 1505014: avoid signed overflow in modular addition
...
[SVN r34428]
2006-06-29 23:17:14 +00:00
John Maddock
9629ae44a5
Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
...
[SVN r30670]
2005-08-25 16:27:28 +00:00
Jens Maurer
0b7d6db9e2
generalize initialization change to other than 32 bits
...
[SVN r30208]
2005-07-21 22:04:31 +00:00
Jens Maurer
381439b97d
fix bug #1220358 : probability p was not forwarded to contained bernoulli
...
[SVN r29791]
2005-06-24 22:13:43 +00:00