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);
118 #endif // Ranlux64Engine_h
virtual ~Ranlux64Engine()
static std::string engineName()
std::vector< unsigned long > put() const
void setSeeds(const long *seeds, int lux=1)
static const unsigned int VECTOR_STATE_SIZE
void setSeed(long seed, int lux=1)
void restoreStatus(const char filename[]="Ranlux64.conf")
static constexpr double lux
static std::string beginTag()
virtual std::istream & getState(std::istream &is)
void flatArray(const int size, double *vect)
void saveStatus(const char filename[]="Ranlux64.conf") const