Mercurial
lemon-0.x
/ file revision
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
| file |
latest
|
revisions
|
annotate
|
diff
|
comparison
|
raw
|
help
lemon/random.cc
author
deba
Mon, 02 Oct 2006 16:11:00 +0000
changeset 2229
4dbb6dd2dd4b
child 2246
9c472eee236f
permissions
-rw-r--r--
Mersenne Twister random number generator
The code is based on the official MT19937 implementation
It is fully rewritten:
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
todo: fixing copyright information
1
#include <lemon/random.h>
2
3
namespace lemon {
4
Random rnd;
5
}