35#define RanluxEngine_h 1
71 void flatArray (
const int size,
double* vect);
74 void setSeed(
long seed,
int lux=3);
77 void setSeeds(
const long * seeds,
int lux=3);
81 void saveStatus(
const char filename[] =
"Ranlux.conf" )
const;
94 operator unsigned int();
96 virtual std::ostream &
put (std::ostream & os)
const;
97 virtual std::istream &
get (std::istream & is);
99 virtual std::istream &
getState ( std::istream & is );
101 std::string
name()
const;
104 std::vector<unsigned long>
put ()
const;
105 bool get (
const std::vector<unsigned long> & v);
106 bool getState (
const std::vector<unsigned long> & v);
113 float float_seed_table[24];
117 static const int int_modulus = 0x1000000;
118 static int numEngines;
static const unsigned int VECTOR_STATE_SIZE
void flatArray(const int size, double *vect)
virtual std::istream & getState(std::istream &is)
void saveStatus(const char filename[]="Ranlux.conf") const
std::vector< unsigned long > put() const
void setSeeds(const long *seeds, int lux=3)
static std::string beginTag()
virtual std::istream & get(std::istream &is)
void setSeed(long seed, int lux=3)
void restoreStatus(const char filename[]="Ranlux.conf")
static std::string engineName()