Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mdp_prng Class Reference

Marsaglia's random number generator (same as UKQCD). More...

#include <mdp_prng.h>

List of all members.

Public Member Functions

float plain ()
 return a uniform random number in (0,1)
void initialize (long ijkl)
 mdp_prng (long k=0)
float gaussian (float sigma=1)
 returns a gaussian random number
double distribution (float(*fp)(float, void *), void *a=0)
 draws a random float in (0,1) from a distribution using accept-reject
mdp_matrix SU (int n)
 returns a random SU(n) matrix using Cabibbo-Marinari
void skip (int n)
 skip n numbers from the sequence


Detailed Description

Marsaglia's random number generator (same as UKQCD).

You should not instantiate this class because:


The documentation for this class was generated from the following file:
Generated on Sun Feb 27 15:12:26 2005 by  doxygen 1.4.1