36 #ifndef RanecuEngine_h
37 #define RanecuEngine_h 1
61 void flatArray (
const int size,
double* vect);
68 void setSeed (
long index,
int dum=0);
72 void setSeeds (
const long* seeds,
int index=-1);
77 void saveStatus(
const char filename[] =
"Ranecu.conf" )
const;
87 operator unsigned int();
90 virtual std::ostream &
put (std::ostream & os)
const;
91 virtual std::istream &
get (std::istream & is);
93 virtual std::istream &
getState ( std::istream & is );
95 std::string
name()
const;
98 std::vector<unsigned long>
put ()
const;
99 bool get (
const std::vector<unsigned long> &
v);
100 bool getState (
const std::vector<unsigned long> &
v);
120 void further_randomize (
int seq,
int col,
int index,
int modulus);
124 static const int maxSeq = 215;
void setSeeds(const long *seeds, int index=-1)
static const int ecuyer_b
static const int ecuyer_f
static std::string engineName()
static const unsigned int VECTOR_STATE_SIZE
void restoreStatus(const char filename[]="Ranecu.conf")
virtual std::istream & getState(std::istream &is)
void setIndex(long index)
static const int ecuyer_a
void flatArray(const int size, double *vect)
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static const int ecuyer_e
void saveStatus(const char filename[]="Ranecu.conf") const
static const int ecuyer_d
static std::string beginTag()
void setSeed(long index, int dum=0)
static const int ecuyer_c
std::vector< unsigned long > put() const