NEWS
9.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
A reverse chronological list of changes to RandomLib
For more information, see
http://randomlib.sourceforge.net/
The current version of the library is 1.9.
Changes between 1.9 (released 2014-03-15) and 1.8 versions:
* Many changes in cmake support:
+ minimum version of cmake needed increased to 2.8.4 (which was
released in 2011-02);
+ allow building both shared and static libraries with -D
RANDOMLIB_LIB_TYPE=BOTH;
+ both shared and static libraries (Release plus Debug) included in
binary installer;
+ find_package uses COMPONENTS and RandomLib_USE_STATIC_LIBS to
select the library to use;
+ find_package version checking allows nmake and Visual Studio
generators to interoperate on Windows;
+ find_package (RandomLib ...) requires that RandomLib be
capitalized correctly;
+ on Unix/Linux, don't include the version number in directory for
the cmake configuration files;
+ defaults for RANDOMLIB_DOCUMENTATION is now OFF;
+ the configuration parameters PACKAGE_PATH and INSTALL_PATH are
now deprecated (use CMAKE_INSTALL_PREFIX instead).
* _d added to library name in Windows project files.
Changes between 1.8 (released 2013-10-08) and 1.7 versions:
* Work around a problem with Visual Studio 9.
Changes between 1.7 (released 2013-09-27) and 1.6 versions:
* Add UniformInteger, DiscreteNormal, and DiscreteNormalAlt.
* cmake configuration changes:
+ use folders in Visual Studio to reduce clutter;
+ improving setting of runtime path for Unix-like OS;
+ install PDB files when compiling with Visual Studio to aid
debugging.
* Eliminate link error in debug mode (in RandomMixer) and various
warning messages.
* Add macros RANDOMLIB_VERSION_{MAJOR,MINOR,PATCH} to Config.h.
Changes between 1.6 (released 2012-09-13) and 1.5 versions:
* Documentation changes:
+ remove html documentation from distribution and use web links if
doxygen is not available;
+ use doxygen tags to document exceptions;
+ use Greek letters where appropriate (requires doxygen 1.8.1.2 or
later);
+ use MathJax to display equations.
* Support building with cygwin and mingw32-g++ on Windows (via
cmake).
* Releases via git now use the "release" branch of the main
randomlib repository (instead of a separate randomlib-release
repository).
Changes between 1.5 (released 2012-03-20) and 1.4 versions:
* cmake tweaks:
+ improve find_package's matching of compiler versions;
+ CMAKE_INSTALL_PREFIX set from CMAKE_PREFIX_PATH if available;
+ fix cmake warning with Visual Studio Express.
* Fix for compilation with Visual Studio 11.
Changes between 1.4 (released 2012-02-21) and 1.3 versions:
* Add MPFR interface.
* Add InversePiProb and InverseEProb.
* Change RandomNumber to a signed-magnitude representation; this
results in slight incompatibilities in the interface.
* A tweak to ExactNormal to minimize the number of digits generated.
* Improve efficiency of ExactExponential.
* Improve documentation on configuration with cmake.
* cmake's find_package ensures that the compiler versions match on
Windows.
Changes between 1.3 (released 2012-01-21) and 1.2 versions:
* Improve algorithm used by RandomLib::ExactNormal class.
* Add internal documenation to the cmake configuration files.
Changes between 1.2 (released 2011-12-20) and 1.1 versions:
* Change license to MIT/X11.
* Add RandomLib::ExactNormal class. This enables you to sample
exactly from a normal distribution with zero mean and unit variance
(assuming that the underlying generator is perfect).
* Document function arguments and return values.
* Include OpenMP header in RandomThread.cpp.
Change between 1.1 (released 2011-09-21) and 1.0 versions:
* Ensure that randomlib-config.cmake is relocatable.
Changes between 1.0 (released 2011-08-12) and 2011-06 versions:
* cmake changes:
+ include FindRandom.cmake in distribution;
+ building with cmake creates and installs randomlib-config.cmake;
+ better support for building a shared library under Windows.
Changes between 2011-06 (released 2011-06-04) and 2010-05 versions:
* Convert parallelization example, RandomThread.cpp, to OpenMP.
* Migrate source from subversion to git.
Changes between 2011-05 (released 2011-05-17) and 2010-04 versions:
* INCOMPATIBLE CHANGE: the default constructor Random r; sets the seed
to []. Use r.Reseed(); to reset the seed to Random::SeedVector();
* Make sure Global generators are exported to the dll.
Changes between 2011-04 (released 2011-04-12) and 2010-01 versions:
* Use cmake for configuration.
* Improve documentation on installation process.
* Improve documentation of parallelization.
* Remove examples RandomPermutation and shuffle and add
RandomCoverage, RandomExact, RandomLambda, RandomSave, and
RandomThread
* Add specialized swap
* Ensure the code works with compilers with no long double type.
* Add new and delete operators for SFMT19937 under Visual Studio.
Changes between 2010-01 and 2009-02 versions:
* Move to SourceForge.
Changes between 2009-02 and 2008-11 versions:
* RandomPermutation and shuffle accept -r option to undo a permutation
or shuffle.
* Minor documentation fixes.
Changes between 2008-11 and 2008-04 versions:
* Changes to suppress warnings with g++ 4.3.
* Optional support for C++11's static_assert.
* Document RandomPermutation and shuffle.
* Minor documentation fixes.
Changes between 2008-04 and 2008-01 versions:
* Reorganized so random algorithm and mixer can be selected
independently. This eliminated a lot of duplicate code.
* This requires a new, incompatible, output format. Format is now
independent of the current base of the stream.
* Name() now returns more informative name.
* SFMT19937 init_by_array mixer adopted for MT19937 generators. This
is an incompatible change for the MT19937 generators. However it is
possible to hook the MT19937 engine with the MixerMT1 mixers to
recover the previous functionality using
+ RandomEngine<MT19937<Random_u32>, MixerMT1<Random_u32> >
+ RandomEngine<MT19937<Random_u64>, MixerMT1<Random_u64> >
* The way 32-bit results are glued together for to provide the
Ran64() result is now LSB ordered. Previously the 32-bit version
of MT19937 used MSB ordering here. This means that certain large
integer results will be different for
RandomEngine<MT19937<Random_u32>, MixerMT1<Random_u32> >
* Support Altivec instructions on PowerPC for SFTM19937. Also use
longer long double on PowerPC.
* Add -s seed option to shuffle and RandomPermutation.
* Use strtoull (where available) instead of strtoul in convert a
string seed to numeric form.
* Switch project files to MS Visual Studio 2005.
* Use SeedVector() instead of SeedWord() for the default constructor
for Random.
* Make 32-bit version of SFMT19937 the default generator.
Changes between 2008-01 and 2007-05 versions:
* This is a maintenance release in anticipation of a forthcoming major
restructuring of the code.
* Use table of powers of two for g++ 4.1.
* Minor documentation fixes.
Changes between 2007-05 and 2007-04 versions:
* Add SFMT19937 generators.
* Introduce RandomGenerator::Name() to identify generator.
* Change define used to make 64-bit generator the default.
* Add RandomSelect::Weight.
* Ensure portability to systems where RandomSeed::u32 is longer than 32
bits.
Changes between 2007-04 and 2006-12 versions:
* Add utilities RandomPermutation and shuffle.
* Implement MSB ordering on binary I/O in a portable way.
Changes between 2006-12 and 2006-11 versions:
* Add leapfrogging. The output format needed to be changed to
accommodate an extra word of data. However, I/O routines can still
read the 2006-11 version.
Changes between 2006-11 and 2006-10 versions:
* Introduce RandomCanonical class which accepts the random generator
as a template argument.
* This allows the inclusion of 32-bit and 64-bit versions of mt19937.
* Include checksum in I/O.
* Include boost serialization.
Changes between 2006-10 and 2006-09 versions:
* Make 64-bit ready so a 64-bit version of mt19937 can be dropped in.
* Fix a bug in the seeding. (This bug was trigged by seed length of
624 or greater; so it was unlikely to have been encountered in
practice.)
* Stop the special case treatment for
Random::IntegerC<T>(numeric_limits<T>::max()). In some cases (e.g.,
T = int) this now gives different (but equivalent) results.
Changes between 2006-09 and 2006-08 versions:
* Add ExponentialProb, ExactExponential, ExactPower, and RandomNumber.
* Fix weakness in the seeding algorithm. A given seed now gives a
random sequence different from previous version; so this is an
incompatible change.
* Restructure the documentation.
* Allow constructors to accept vectors of any integral type and
constructors with a pair of iterators.
Change between 2006-08 and 2006-07 versions:
* Improve efficiency of Integer(n) where n is a power of two.