grand: Fix URLs for info on the Mersenne Twister

Reported by Allin Cottrell here:
http://mail.gnome.org/archives/gtk-devel-list/2010-December/msg00134.html
This commit is contained in:
Javier Jardón 2010-12-17 16:12:16 +00:00
parent 89b558077f
commit f0354ff059
3 changed files with 5 additions and 4 deletions

View File

@ -68,8 +68,8 @@
* pseudo-random number generator (PRNG). It uses the Mersenne Twister
* PRNG, which was originally developed by Makoto Matsumoto and Takuji
* Nishimura. Further information can be found at
* <ulink url="http://www.math.keio.ac.jp/~matumoto/emt.html">
* www.math.keio.ac.jp/~matumoto/emt.html</ulink>.
* <ulink url="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html">
* http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html</ulink>.
*
* If you just need a random number, you simply call the
* <function>g_random_*</function> functions, which will create a

View File

@ -38,7 +38,7 @@ G_BEGIN_DECLS
typedef struct _GRand GRand;
/* GRand - a good and fast random number generator: Mersenne Twister
* see http://www.math.keio.ac.jp/~matumoto/emt.html for more info.
* see http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html for more info.
* The range functions return a value in the intervall [begin, end).
* int -> [0..2^32-1]
* int_range -> [begin..end-1]

View File

@ -22,7 +22,8 @@
#include "glib.h"
/* Outputs tested against the reference implementation mt19937ar.c from
http://www.math.keio.ac.jp/~matumoto/MT2002/emt19937ar.html */
* http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html
*/
/* Tests for a simple seed, first number is the seed */
const guint32 first_numbers[] =