Efros-Leung
Exemplar-basedtexturesynthesis(Efros-Leung)
Defines | Functions
inc/mt.h File Reference

Mersenne Twister pseudo-RNG code. More...

Go to the source code of this file.

Defines

#define MT_VERSION   "0.20110401"

Functions

void mt_init (unsigned long s)
 initializes the generator with a seed
double mt_drand53 (void)
 generates a random number on [0,1) with 53-bit resolution

Detailed Description

Mersenne Twister pseudo-RNG code.

This is the original code by Takuji Nishimura and Makoto Matsumoto, amended to keep only the parts used and with the finctions renamed. Source : http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html

Author:
Makoto Matsumoto (1997 - 2002)
Takuji Nishimura (1997 - 2002)
 All Classes Files Functions Variables