aboutsummaryrefslogtreecommitdiff
path: root/random/LICENSE
diff options
context:
space:
mode:
Diffstat (limited to 'random/LICENSE')
-rw-r--r--random/LICENSE60
1 files changed, 60 insertions, 0 deletions
diff --git a/random/LICENSE b/random/LICENSE
new file mode 100644
index 0000000..867af1f
--- /dev/null
+++ b/random/LICENSE
@@ -0,0 +1,60 @@
1This library is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE. The
2license text can be found in the top-level LICENSE file of this project.
3
4This library makes use of third-party software. The licenses for this
5third-party software are listed below.
6
7# mt19937-64.c
8
9A C-program for MT19937-64 (2004/9/29 version).
10Coded by Takuji Nishimura and Makoto Matsumoto.
11
12This is a 64-bit version of Mersenne Twister pseudorandom number
13generator.
14
15Before using, initialize the state by using init_genrand64(seed)
16or init_by_array64(init_key, key_length).
17
18Copyright (C) 2004, Makoto Matsumoto and Takuji Nishimura,
19All rights reserved.
20
21Redistribution and use in source and binary forms, with or without
22modification, are permitted provided that the following conditions
23are met:
24
251. Redistributions of source code must retain the above copyright
26notice, this list of conditions and the following disclaimer.
27
282. Redistributions in binary form must reproduce the above copyright
29notice, this list of conditions and the following disclaimer in the
30documentation and/or other materials provided with the distribution.
31
323. The names of its contributors may not be used to endorse or promote
33products derived from this software without specific prior written
34permission.
35
36THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
37"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
38LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
39A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
40CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
41EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
42PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
43PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
44LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
45NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
46SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47
48References:
49T. Nishimura, ``Tables of 64-bit Mersenne Twisters''
50ACM Transactions on Modeling and
51Computer Simulation 10. (2000) 348--357.
52M. Matsumoto and T. Nishimura,
53``Mersenne Twister: a 623-dimensionally equidistributed
54 uniform pseudorandom number generator''
55ACM Transactions on Modeling and
56Computer Simulation 8. (Jan. 1998) 3--30.
57
58Any feedback is very welcome.
59http://www.math.hiroshima-u.ac.jp/~m-mat/MT/emt.html
60email: m-mat @ math.sci.hiroshima-u.ac.jp (remove spaces)