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