34 #ifndef RanluxEngine_h
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;
std::vector< unsigned long > put() const
static std::string engineName()
void setSeeds(const long *seeds, int lux=3)
void saveStatus(const char filename[]="Ranlux.conf") const
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void setSeed(long seed, int lux=3)
void restoreStatus(const char filename[]="Ranlux.conf")
static constexpr double lux
virtual std::istream & getState(std::istream &is)
void flatArray(const int size, double *vect)
static std::string beginTag()
static const unsigned int VECTOR_STATE_SIZE