XFuRandom.cpp File Reference

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# XFuRandom.cpp File Reference

Mersenne Twister random generator. More...

`#include <xfcore/XFcCore.h>`
`#include <xfutil/XFuRandom.h>`

Include dependency graph for XFuRandom.cpp:

Go to the source code of this file.

## Enumerations

enum

XFURANDOM_MERSENNE_PARAMETERS {
XFURMP_N = 351,
XFURMP_M = 175,
XFURMP_R = 19,
XFURMP_LOMASK = 0x0007FFFF,
XFURMP_HIMASK = 0xFFFFE000,
XFURMP_A = 0xEABD75F5,
XFURMP_U = 11,
XFURMP_S = 7,
XFURMP_T = 15,
XFURMP_L = 17,
XFURMP_B = 0x655E5280,
XFURMP_C = 0xFFD58000
}

## Detailed Description

Mersenne Twister random generator.

X-Forge Util
Copyright 2000-2003 Fathammer Ltd

Information about the algorithm can be found at: http://www.math.keio.ac.jp/~matumoto/emt.html

Id
  XFuRandom.cpp,v 1.8 2003/08/12 13:34:08 lars Exp

Date
  2003/08/12 13:34:08

Revision
  1.8

Definition in file XFuRandom.cpp.

## Enumeration Type Documentation

enum XFURANDOM_MERSENNE_PARAMETERS

Enumeration values:

  XFURMP_N |
  XFURMP_M |
  XFURMP_R |
  XFURMP_LOMASK |
  XFURMP_HIMASK |
  XFURMP_A |
  XFURMP_U |
  XFURMP_S |
  XFURMP_T |
  XFURMP_L |
  XFURMP_B |
  XFURMP_C |

Definition at line 19 of file XFuRandom.cpp.

|  | X-Forge Documentation Confidential Copyright © 2002-2003 Fathammer |  | Documentation generated with doxygen by Dimitri van Heesch