27#ifndef NonRandomEngine_h
28#define NonRandomEngine_h 1
62 void flatArray (
const int size,
double* vect);
65 virtual std::ostream &
put (std::ostream & os)
const;
66 virtual std::istream &
get (std::istream & is);
68 virtual std::istream &
getState ( std::istream & is );
70 std::string
name()
const;
71 static std::string
engineName() {
return "NonRandomEngine";}
73 std::vector<unsigned long>
put ()
const;
74 bool get (
const std::vector<unsigned long> & v);
75 bool getState (
const std::vector<unsigned long> & v);
80 bool sequenceHasBeenSet;
81 bool intervalHasBeenSet;
83 std::vector<double> sequence;
85 double randomInterval;
90 virtual void setSeed(
long ,
int) {};
91 virtual void setSeeds(
const long * ,
int) {};
92 virtual void saveStatus(
const char * )
const {};
93 virtual void restoreStatus(
const char * ) {};
94 virtual void showStatus()
const {};
virtual ~NonRandomEngine()
void setRandomSequence(double *s, int n)
void setNextRandom(double r)
virtual std::istream & getState(std::istream &is)
virtual std::istream & get(std::istream &is)
static std::string beginTag()
void setRandomInterval(double x)
std::vector< unsigned long > put() const
static std::string engineName()
void flatArray(const int size, double *vect)