38#ifndef Ranlux64Engine_h
39#define Ranlux64Engine_h
64 void flatArray (
const int size,
double* vect);
67 void setSeed(
long seed,
int lux=1);
70 void setSeeds(
const long * seeds,
int lux=1);
74 void saveStatus(
const char filename[] =
"Ranlux64.conf" )
const;
77 void restoreStatus(
const char filename[] =
"Ranlux64.conf" );
86 virtual std::ostream &
put (std::ostream & os)
const;
87 virtual std::istream &
get (std::istream & is);
89 virtual std::istream &
getState ( std::istream & is );
91 std::string
name()
const;
92 static std::string
engineName() {
return "Ranlux64Engine";}
94 std::vector<unsigned long>
put ()
const;
95 bool get (
const std::vector<unsigned long> & v);
96 bool getState (
const std::vector<unsigned long> & v);
103 void advance(
int dozens);
114 static int numEngines;
void setSeeds(const long *seeds, int lux=1)
void restoreStatus(const char filename[]="Ranlux64.conf")
std::vector< unsigned long > put() const
virtual std::istream & getState(std::istream &is)
static std::string engineName()
void saveStatus(const char filename[]="Ranlux64.conf") const
static std::string beginTag()
void flatArray(const int size, double *vect)
void setSeed(long seed, int lux=1)
static const unsigned int VECTOR_STATE_SIZE
virtual std::istream & get(std::istream &is)
virtual ~Ranlux64Engine()