34#define RanluxEngine_h 1
70 void flatArray (
const int size,
double* vect);
73 void setSeed(
long seed,
int lux=3);
76 void setSeeds(
const long * seeds,
int lux=3);
80 void saveStatus(
const char filename[] =
"Ranlux.conf" )
const;
95 operator unsigned int();
97 virtual std::ostream &
put (std::ostream & os)
const;
98 virtual std::istream &
get (std::istream & is);
100 virtual std::istream &
getState ( std::istream & is );
102 std::string
name()
const;
105 std::vector<unsigned long>
put ()
const;
106 bool get (
const std::vector<unsigned long> & v);
107 bool getState (
const std::vector<unsigned long> & v);
114 float float_seed_table[24];
118 static const int int_modulus = 0x1000000;
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()