36#define RanecuEngine_h 1
60 void flatArray (
const int size,
double* vect);
67 void setSeed (
long index,
int dum=0);
71 void setSeeds (
const long* seeds,
int index=-1);
76 void saveStatus(
const char filename[] =
"Ranecu.conf" )
const;
90 operator unsigned int();
93 virtual std::ostream &
put (std::ostream & os)
const;
94 virtual std::istream &
get (std::istream & is);
96 virtual std::istream &
getState ( std::istream & is );
98 std::string
name()
const;
101 std::vector<unsigned long>
put ()
const;
102 bool get (
const std::vector<unsigned long> & v);
103 bool getState (
const std::vector<unsigned long> & v);
123 void further_randomize (
int seq,
int col,
int index,
int modulus);
127 static const int maxSeq = 215;
void restoreStatus(const char filename[]="Ranecu.conf")
void saveStatus(const char filename[]="Ranecu.conf") const
static const int ecuyer_b
static const int ecuyer_e
static std::string engineName()
static const int ecuyer_f
std::vector< unsigned long > put() const
void setSeed(long index, int dum=0)
static const int ecuyer_d
virtual std::istream & get(std::istream &is)
void flatArray(const int size, double *vect)
virtual std::istream & getState(std::istream &is)
void setIndex(long index)
static const int ecuyer_a
static const unsigned int VECTOR_STATE_SIZE
static const int ecuyer_c
void setSeeds(const long *seeds, int index=-1)
static std::string beginTag()