CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <TripleRand.h>
Classes | |
class | IntegerCong |
class | Tausworthe |
Public Member Functions | |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
Static Public Member Functions | |
static std::string | beginTag () |
static std::string | engineName () |
static std::string | beginTag () |
static std::string | engineName () |
static std::string | beginTag () |
static std::string | engineName () |
static std::string | beginTag () |
static std::string | engineName () |
Static Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 20 |
Definition at line 52 of file Matrix/CLHEP/Random/TripleRand.h.
Definition at line 60 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
Definition at line 70 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
Definition at line 79 of file TripleRand.cc.
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
Definition at line 85 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
CLHEP::TripleRand::~TripleRand | ( | ) | [virtual] |
Definition at line 94 of file TripleRand.cc.
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
virtual CLHEP::TripleRand::~TripleRand | ( | ) | [virtual] |
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
virtual CLHEP::TripleRand::~TripleRand | ( | ) | [virtual] |
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
virtual CLHEP::TripleRand::~TripleRand | ( | ) | [virtual] |
std::string CLHEP::TripleRand::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 268 of file TripleRand.cc.
static std::string CLHEP::TripleRand::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::TripleRand::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::TripleRand::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::TripleRand::engineName | ( | ) | [inline, static] |
Definition at line 95 of file Random/CLHEP/Random/TripleRand.h.
static std::string CLHEP::TripleRand::engineName | ( | ) | [inline, static] |
Definition at line 95 of file RandomObjects/CLHEP/Random/TripleRand.h.
static std::string CLHEP::TripleRand::engineName | ( | ) | [inline, static] |
Definition at line 95 of file Random/Random/TripleRand.h.
static std::string CLHEP::TripleRand::engineName | ( | ) | [inline, static] |
Definition at line 95 of file Matrix/CLHEP/Random/TripleRand.h.
Referenced by restoreStatus().
double CLHEP::TripleRand::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::TripleRand::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::TripleRand::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::TripleRand::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 96 of file TripleRand.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray().
void CLHEP::TripleRand::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
void CLHEP::TripleRand::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::TripleRand::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::istream & CLHEP::TripleRand::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 251 of file TripleRand.cc.
References getState().
virtual std::istream& CLHEP::TripleRand::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::TripleRand::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::TripleRand::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::TripleRand::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::TripleRand::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 309 of file TripleRand.cc.
References getState(), and VECTOR_STATE_SIZE.
bool CLHEP::TripleRand::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::TripleRand::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::TripleRand::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::istream & CLHEP::TripleRand::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 272 of file TripleRand.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
virtual std::istream& CLHEP::TripleRand::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::TripleRand::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::TripleRand::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::TripleRand::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 323 of file TripleRand.cc.
References CLHEP::Hurd288Engine::get().
bool CLHEP::TripleRand::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::string CLHEP::TripleRand::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::TripleRand::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::TripleRand::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::TripleRand::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 58 of file TripleRand.cc.
CLHEP::TripleRand::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::TripleRand::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::TripleRand::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 201 of file TripleRand.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), and CLHEP::HepRandomEngine::twoToMinus_32().
CLHEP::TripleRand::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::TripleRand::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::TripleRand::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::TripleRand::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 208 of file TripleRand.cc.
CLHEP::TripleRand::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::TripleRand::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::ostream & CLHEP::TripleRand::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 217 of file TripleRand.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
virtual std::ostream& CLHEP::TripleRand::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::TripleRand::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::TripleRand::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::TripleRand::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::TripleRand::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector< unsigned long > CLHEP::TripleRand::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 239 of file TripleRand.cc.
References CLHEP::Hurd288Engine::put().
Referenced by put(), and saveStatus().
void CLHEP::TripleRand::restoreStatus | ( | const char | filename[] = "TripleRand.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 151 of file TripleRand.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
void CLHEP::TripleRand::restoreStatus | ( | const char | filename[] = "TripleRand.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::restoreStatus | ( | const char | filename[] = "TripleRand.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::restoreStatus | ( | const char | filename[] = "TripleRand.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::saveStatus | ( | const char | filename[] = "TripleRand.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::saveStatus | ( | const char | filename[] = "TripleRand.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::saveStatus | ( | const char | filename[] = "TripleRand.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 124 of file TripleRand.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::TripleRand::saveStatus | ( | const char | filename[] = "TripleRand.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 112 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
Referenced by setSeeds().
void CLHEP::TripleRand::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 119 of file TripleRand.cc.
References setSeed(), and CLHEP::HepRandomEngine::theSeeds.
void CLHEP::TripleRand::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 187 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
void CLHEP::TripleRand::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::TripleRand::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
static const unsigned int CLHEP::TripleRand::VECTOR_STATE_SIZE = 20 [static] |
Definition at line 101 of file Matrix/CLHEP/Random/TripleRand.h.
Referenced by get(), getState(), and restoreStatus().