QDP++
qdp_rannyu.h
Go to the documentation of this file.
1// -*- C++ -*-
2
10
11#ifndef QDP_RANNYU_H
12#define QDP_RANNYU_H
13
14#include "qdp.h"
15
16namespace QDP
17{
18 namespace RANNYU
19 {
21 double random();
22
24 void setrn(const multi1d<int>& iseed);
25
27 multi1d<int> savern();
28
31 {
33 double ran;
34 };
35
37 void random(RNGState_t& ran_state);
38
39 } // namespace RANNYU
40
41} // namespace QDP
42
43#endif
Container for a multi-dimensional 1D array.
Definition qdp_multi.h:25
double random()
The RNG. Has side effects.
Definition qdp_rannyu.cc:57
multi1d< int > savern()
Recover the seed.
Definition qdp_rannyu.cc:90
void setrn(const multi1d< int > &iseed)
Seed has been set by default - this allows one to override it.
Definition qdp_rannyu.cc:77
Yet another random number generator.
Primary include file for QDP.
Hold state and RNG.
Definition qdp_rannyu.h:31
multi1d< int > seed
Definition qdp_rannyu.h:32