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