32#ifndef BZ_RANDOM_DEFAULT_H
33#define BZ_RANDOM_DEFAULT_H
67template<
typename IRNG,
typename state>
71template<
typename IRNG>
78 void seed(std::vector<IRNG_int> x)
85 void setState(
const std::string&
s) { irng_.setState(
s); }
91template<
typename IRNG>
94template<
typename IRNG>
104 void seed(std::vector<IRNG_int> x)
IRNGWrapper(unsigned int i)
Definition: default.h:99
IRNGWrapper()
Definition: default.h:98
T_state getState() const
Definition: default.h:108
IRNG::T_state T_state
Definition: default.h:107
std::string getStateString() const
Definition: default.h:109
IRNG irng_
Definition: default.h:114
void setState(const T_state &s)
Definition: default.h:110
void seed(IRNG_int x)
Definition: default.h:101
void setState(const std::string &s)
Definition: default.h:111
void seed(std::vector< IRNG_int > x)
Definition: default.h:104
void seed(IRNG_int x)
Definition: default.h:75
T_state getState() const
Definition: default.h:82
void seed(std::vector< IRNG_int > x)
Definition: default.h:78
std::string getStateString() const
Definition: default.h:83
static IRNG irng_
Definition: default.h:88
void setState(const T_state &s)
Definition: default.h:84
IRNG::T_state T_state
Definition: default.h:81
void setState(const std::string &s)
Definition: default.h:85
This class creates MersenneTwisters with different parameters indexed by and ID number.
Definition: mt.h:323
_bz_global blitz::IndexPlaceholder< 0 > i
Definition: indexexpr.h:256
_bz_global blitz::IndexPlaceholder< 10 > s
Definition: indexexpr.h:266
float defaultType
Definition: default.h:46
sharedState defaultState
Definition: default.h:55
unsigned int IRNG_int
Definition: default.h:57
MersenneTwister defaultIRNG
Definition: default.h:120