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;
96 operator unsigned int();
98 virtual std::ostream &
put (std::ostream & os)
const;
99 virtual std::istream &
get (std::istream & is);
101 virtual std::istream &
getState ( std::istream & is );
103 std::string
name()
const;
106 std::vector<unsigned long>
put ()
const;
107 bool get (
const std::vector<unsigned long> & v);
108 bool getState (
const std::vector<unsigned long> & v);
static std::string engineName()
void setSeed(long seed, int lux=3)
static const unsigned int VECTOR_STATE_SIZE
virtual std::istream & getState(std::istream &is)
void flatArray(const int size, double *vect)
float float_seed_table[24]
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static const int int_modulus
void setSeeds(const long *seeds, int lux=3)
static constexpr double lux
std::vector< unsigned long > put() const
void saveStatus(const char filename[]="Ranlux.conf") const
static std::string beginTag()
void restoreStatus(const char filename[]="Ranlux.conf")