Commit Graph

633 Commits

Author SHA1 Message Date
Jens Maurer
8b192b20bc add new engines and new distributions
[SVN r15662]
2002-10-03 00:07:13 +00:00
Jens Maurer
fccd5609fb new client-side validation framework
add testing for ranlux and lagged_fibonacci engines
streamlined distribution instantiation


[SVN r15661]
2002-10-03 00:05:46 +00:00
Jens Maurer
cc07606e48 precompute modulus
[SVN r15660]
2002-10-03 00:03:26 +00:00
Jens Maurer
6585deca96 add floating-point ranlux engines
[SVN r15659]
2002-10-03 00:02:02 +00:00
Jens Maurer
89b028375b for the floating-point engine, switch from "modulus" to word_size to
be able to handle 48 bits on all platforms (usually the mantissa of a
double)


[SVN r15658]
2002-10-02 23:59:18 +00:00
Jens Maurer
63825754be remove validation machinery so that discard_block works for integer
and floating-point base engine


[SVN r15657]
2002-10-02 23:57:27 +00:00
Jens Maurer
9444accc6a work-in-progress of WG21 proposal for a random number facility
[SVN r15642]
2002-10-01 23:07:51 +00:00
Jens Maurer
1a27ccda74 expand interface with RealType to store probability
[SVN r15640]
2002-10-01 23:02:15 +00:00
Jens Maurer
3ec1ccf084 add binomial_distribution
[SVN r15638]
2002-10-01 22:18:29 +00:00
Jens Maurer
2fcd29ecc0 make the distribution usable with underlying floating-point generators
[SVN r15637]
2002-10-01 22:17:37 +00:00
Jens Maurer
78edc5c0c0 add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed


[SVN r15636]
2002-10-01 22:16:49 +00:00
Jens Maurer
76240c64ef add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed
rename lagged_fibonacci to lagged_fibonacci_01, add integer lagged_fibonacci


[SVN r15635]
2002-10-01 22:15:50 +00:00
Jens Maurer
fb8ca8bd57 mplement the binomial distribution
[SVN r15634]
2002-10-01 21:15:59 +00:00
Jens Maurer
03292cbc94 add storage and retrieval of parameter p
[SVN r15633]
2002-10-01 21:15:09 +00:00
Jens Maurer
36f3e816b6 add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed
remove superfluous template parameter


[SVN r15632]
2002-10-01 20:03:59 +00:00
Jens Maurer
c3f5ff0bbc add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed
add desired word bitsize "w" to interface


[SVN r15631]
2002-10-01 20:01:21 +00:00
Jens Maurer
dabc81d718 move ranlux bases here (from subtract_with_carry.hpp)
[SVN r15630]
2002-10-01 19:35:43 +00:00
Jens Maurer
cb3a335f7d add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed


[SVN r15629]
2002-10-01 19:31:58 +00:00
Jens Maurer
7910ff9f89 add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed


[SVN r15588]
2002-09-30 22:52:55 +00:00
Jens Maurer
a332f69c44 add linear feedback shift engine
[SVN r15587]
2002-09-30 22:48:58 +00:00
Jens Maurer
d3db961b22 add xor_combine compound engine
[SVN r15586]
2002-09-30 22:47:54 +00:00
Jens Maurer
954519a948 add entropy() member function
[SVN r15585]
2002-09-30 22:46:05 +00:00
Jens Maurer
4e72545974 make parameters of the distribution available
[SVN r15584]
2002-09-30 22:43:55 +00:00
Jens Maurer
83a8e7cc6d performance improvement: multiply by pre-computed factor instead
of dividing


[SVN r15583]
2002-09-30 22:43:05 +00:00
Jens Maurer
72879cd4d7 add base() and reset() member functions for distributions
[SVN r15582]
2002-09-30 22:43:04 +00:00
Jens Maurer
156e806d1a add gamma and poisson distributions
[SVN r15581]
2002-09-30 22:42:49 +00:00
Jens Maurer
d291e8e79d add poisson distribution
[SVN r15580]
2002-09-30 22:32:07 +00:00
Jens Maurer
3238081f5e add gamma distribution
[SVN r15579]
2002-09-30 22:31:26 +00:00
Jens Maurer
8c98071497 add iterator-based seeding
add subtract_with_carry_01 floating-point engine


[SVN r15578]
2002-09-30 22:29:17 +00:00
Björn Karlsson
cd3f295c47 Merged from branch to trunk
[SVN r15463]
2002-09-20 11:58:08 +00:00
Jens Maurer
b745b11af9 add RanLux generator and required components
no reference to these generators exists yet
validation values need to be provided


[SVN r15307]
2002-09-13 21:30:54 +00:00
Peter Dimov
3869397bda #include <iterator> added (reported by Neal Becker)
[SVN r15066]
2002-08-23 12:30:43 +00:00
Björn Karlsson
c20f8a01b9 Added copyright text
[SVN r14636]
2002-07-29 14:34:04 +00:00
Beman Dawes
8d4f7e75a0 fix to BOOST_MSVC fix!
[SVN r14525]
2002-07-18 19:01:59 +00:00
Dave Abrahams
c46b7ee9d7 Fix unversioned VC++ checks
[SVN r14436]
2002-07-13 12:26:19 +00:00
Dave Abrahams
78e4693e75 Add missing #include
[SVN r13791]
2002-05-09 18:17:31 +00:00
John Maddock
a8103c3097 Patched to get const_mod working with Borland C++ Builder 6
[SVN r13668]
2002-05-05 10:57:07 +00:00
Jens Maurer
1ea86d7aa6 convert tabs to spaces
[SVN r13404]
2002-04-08 21:20:39 +00:00
Jens Maurer
64625f5c1a really fix endless loop (reported by Douglas Gregor and Fernando Cacciola)
[SVN r13178]
2002-03-11 20:31:05 +00:00
Jens Maurer
eb910ff396 avoid compiler warnings
[SVN r13039]
2002-03-03 09:14:31 +00:00
Jens Maurer
8cc4a6e726 remove obsolete comment
[SVN r13038]
2002-03-03 09:13:57 +00:00
Darin Adler
a79edda895 Always say "private noncopyable" to avoid warnings.
[SVN r12762]
2002-02-08 20:08:15 +00:00
Jens Maurer
a3e6c954ee fix compilation problems
[SVN r12556]
2002-01-29 20:12:05 +00:00
Jens Maurer
1390942c00 fix various compile problems
[SVN r12403]
2002-01-21 20:27:56 +00:00
Jens Maurer
2b874f33bc add required definitions of integral static constants initialized in-class
[SVN r12208]
2002-01-03 22:21:34 +00:00
Jens Maurer
6c229da058 use BOOST_STATIC_CONSTANT
[SVN r12207]
2002-01-03 22:20:30 +00:00
Jens Maurer
4bd5b0a4a2 add ref to random-misc.html (suggested by Beman Dawes)
[SVN r12183]
2002-01-01 08:27:25 +00:00
Jens Maurer
f529d8c4c2 add test case for endless loop (by Fernando Cacciola)
[SVN r12134]
2001-12-20 21:23:10 +00:00
Jens Maurer
db9642b7a0 improve documentation (request by David Mechner)
[SVN r12090]
2001-12-17 19:56:05 +00:00
Jens Maurer
b2a368be71 fix warnings
[SVN r12068]
2001-12-16 16:29:40 +00:00