QDP++
qdp_rannyu.h File Reference

Yet another random number generator. More...

#include "qdp.h"

Go to the source code of this file.

Classes

struct  QDP::RANNYU::RNGState_t
 Hold state and RNG. More...

Namespaces

namespace  QDP
 Yet another random number generator.
namespace  QDP::RANNYU

Functions

double QDP::RANNYU::random ()
 The RNG. Has side effects.
void QDP::RANNYU::setrn (const multi1d< int > &iseed)
 Seed has been set by default - this allows one to override it.
multi1d< int > QDP::RANNYU::savern ()
 Recover the seed.
void QDP::RANNYU::random (RNGState_t &ran_state)
 The RNG, but packaging all the state with it. No side effects.

Detailed Description

Yet another random number generator.

This is an RNG independent from the vanilla QDP RNG.

Seeds are four 12 bit integers

Definition in file qdp_rannyu.h.