37#ifndef Ranlux64Engine_h
38#define Ranlux64Engine_h
63 void flatArray (
const int size,
double* vect);
66 void setSeed(
long seed,
int lxr=1);
69 void setSeeds(
const long * seeds,
int lxr=1);
73 void saveStatus(
const char filename[] =
"Ranlux64.conf" )
const;
76 void restoreStatus(
const char filename[] =
"Ranlux64.conf" );
85 virtual std::ostream &
put (std::ostream & os)
const;
86 virtual std::istream &
get (std::istream & is);
88 virtual std::istream &
getState ( std::istream & is );
90 std::string
name()
const;
91 static std::string
engineName() {
return "Ranlux64Engine";}
93 std::vector<unsigned long>
put ()
const;
94 bool get (
const std::vector<unsigned long> & v);
95 bool getState (
const std::vector<unsigned long> & v);
void setSeed(long seed, int lxr=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 setSeeds(const long *seeds, int lxr=1)
void saveStatus(const char filename[]="Ranlux64.conf") const
static std::string beginTag()
void flatArray(const int size, double *vect)
static const unsigned int VECTOR_STATE_SIZE
virtual std::istream & get(std::istream &is)
virtual ~Ranlux64Engine()