57 DualRand(
int rowIndex,
int colIndex);
68 void flatArray(
const int size,
double * vect);
74 void setSeeds(
const long * seeds,
int);
78 void saveStatus(
const char filename[] =
"DualRand.conf")
const;
81 void restoreStatus(
const char filename[] =
"DualRand.conf" );
88 operator unsigned int();
90 virtual std::ostream &
put (std::ostream & os)
const;
91 virtual std::istream &
get (std::istream & is);
93 virtual std::istream &
getState ( std::istream & is );
95 std::string
name()
const;
98 std::vector<unsigned long>
put ()
const;
99 bool get (
const std::vector<unsigned long> &
v);
100 bool getState (
const std::vector<unsigned long> &
v);
106 static int numEngines;
113 Tausworthe(
unsigned int seed);
114 operator unsigned int();
115 void put(std::ostream & os)
const;
116 void put(std::vector<unsigned long> &
v)
const;
117 void get(std::istream & is);
118 bool get(std::vector<unsigned long>::const_iterator & iv);
121 unsigned int words[4];
127 IntegerCong(
unsigned int seed,
int streamNumber);
128 operator unsigned int();
129 void put(std::ostream & os)
const;
130 void put(std::vector<unsigned long> &
v)
const;
131 void get(std::istream & is);
132 bool get(std::vector<unsigned long>::const_iterator & iv);
134 unsigned int state, multiplier, addend;
137 Tausworthe tausworthe;
138 IntegerCong integerCong;