Mercurial
lemon-0.x
/ annotate
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
deba@2229
1
#include <lemon/random.h>
deba@2229
2
deba@2229
3
namespace lemon {
deba@2229
4
Random rnd;
deba@2229
5
}