CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <RanluxEngine.h>
Public Member Functions | |
RanluxEngine (std::istream &is) | |
RanluxEngine () | |
RanluxEngine (long seed, int lux=3) | |
RanluxEngine (int rowIndex, int colIndex, int lux) | |
virtual | ~RanluxEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=3) |
void | setSeeds (const long *seeds, int lux=3) |
void | saveStatus (const char filename[]="Ranlux.conf") const |
void | restoreStatus (const char filename[]="Ranlux.conf") |
void | showStatus () const |
int | getLuxury () const |
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) |
RanluxEngine (std::istream &is) | |
RanluxEngine () | |
RanluxEngine (long seed, int lux=3) | |
RanluxEngine (int rowIndex, int colIndex, int lux) | |
virtual | ~RanluxEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=3) |
void | setSeeds (const long *seeds, int lux=3) |
void | saveStatus (const char filename[]="Ranlux.conf") const |
void | restoreStatus (const char filename[]="Ranlux.conf") |
void | showStatus () const |
int | getLuxury () const |
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) |
RanluxEngine (std::istream &is) | |
RanluxEngine () | |
RanluxEngine (long seed, int lux=3) | |
RanluxEngine (int rowIndex, int colIndex, int lux) | |
virtual | ~RanluxEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=3) |
void | setSeeds (const long *seeds, int lux=3) |
void | saveStatus (const char filename[]="Ranlux.conf") const |
void | restoreStatus (const char filename[]="Ranlux.conf") |
void | showStatus () const |
int | getLuxury () const |
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) |
RanluxEngine (std::istream &is) | |
RanluxEngine () | |
RanluxEngine (long seed, int lux=3) | |
RanluxEngine (int rowIndex, int colIndex, int lux) | |
virtual | ~RanluxEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=3) |
void | setSeeds (const long *seeds, int lux=3) |
void | saveStatus (const char filename[]="Ranlux.conf") const |
void | restoreStatus (const char filename[]="Ranlux.conf") |
void | showStatus () const |
int | getLuxury () const |
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 = 31 |
Definition at line 46 of file Matrix/CLHEP/Random/RanluxEngine.h.
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
Definition at line 123 of file RanluxEngine.cc.
Definition at line 81 of file RanluxEngine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
Definition at line 67 of file RanluxEngine.cc.
References setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
Definition at line 102 of file RanluxEngine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::RanluxEngine::~RanluxEngine | ( | ) | [virtual] |
Definition at line 129 of file RanluxEngine.cc.
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
virtual CLHEP::RanluxEngine::~RanluxEngine | ( | ) | [virtual] |
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
virtual CLHEP::RanluxEngine::~RanluxEngine | ( | ) | [virtual] |
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
virtual CLHEP::RanluxEngine::~RanluxEngine | ( | ) | [virtual] |
std::string CLHEP::RanluxEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 558 of file RanluxEngine.cc.
static std::string CLHEP::RanluxEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::RanluxEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::RanluxEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::RanluxEngine::engineName | ( | ) | [inline, static] |
Definition at line 103 of file Random/CLHEP/Random/RanluxEngine.h.
static std::string CLHEP::RanluxEngine::engineName | ( | ) | [inline, static] |
Definition at line 103 of file RandomObjects/CLHEP/Random/RanluxEngine.h.
static std::string CLHEP::RanluxEngine::engineName | ( | ) | [inline, static] |
Definition at line 103 of file Random/Random/RanluxEngine.h.
static std::string CLHEP::RanluxEngine::engineName | ( | ) | [inline, static] |
Definition at line 103 of file Matrix/CLHEP/Random/RanluxEngine.h.
Referenced by restoreStatus().
double CLHEP::RanluxEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::RanluxEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::RanluxEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::RanluxEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 340 of file RanluxEngine.cc.
References CLHEP::DoubConv::d2x(), double, CLHEP::HepRandomEngine::mantissa_bit_12(), and CLHEP::HepRandomEngine::mantissa_bit_24().
Referenced by operator unsigned int().
void CLHEP::RanluxEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 422 of file RanluxEngine.cc.
References double, CLHEP::HepRandomEngine::mantissa_bit_12(), and CLHEP::HepRandomEngine::mantissa_bit_24().
void CLHEP::RanluxEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::RanluxEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::istream & CLHEP::RanluxEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 540 of file RanluxEngine.cc.
References getState().
virtual std::istream& CLHEP::RanluxEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::RanluxEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanluxEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanluxEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanluxEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 607 of file RanluxEngine.cc.
References getState().
bool CLHEP::RanluxEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
int CLHEP::RanluxEngine::getLuxury | ( | ) | const [inline] |
Definition at line 92 of file Matrix/CLHEP/Random/RanluxEngine.h.
int CLHEP::RanluxEngine::getLuxury | ( | ) | const [inline] |
Definition at line 92 of file Random/Random/RanluxEngine.h.
int CLHEP::RanluxEngine::getLuxury | ( | ) | const [inline] |
Definition at line 92 of file Random/CLHEP/Random/RanluxEngine.h.
int CLHEP::RanluxEngine::getLuxury | ( | ) | const [inline] |
Definition at line 92 of file RandomObjects/CLHEP/Random/RanluxEngine.h.
virtual std::istream& CLHEP::RanluxEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::RanluxEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::istream & CLHEP::RanluxEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 562 of file RanluxEngine.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
virtual std::istream& CLHEP::RanluxEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanluxEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanluxEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanluxEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 616 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::mantissa_bit_24(), and VECTOR_STATE_SIZE.
bool CLHEP::RanluxEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::string CLHEP::RanluxEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::RanluxEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::RanluxEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::RanluxEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 59 of file RanluxEngine.cc.
CLHEP::RanluxEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::RanluxEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::RanluxEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 475 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::exponent_bit_32(), and flat().
CLHEP::RanluxEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::RanluxEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::ostream & CLHEP::RanluxEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 482 of file RanluxEngine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
virtual std::ostream& CLHEP::RanluxEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::RanluxEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::RanluxEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector< unsigned long > CLHEP::RanluxEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 508 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::mantissa_bit_24().
Referenced by put(), and saveStatus().
std::vector<unsigned long> CLHEP::RanluxEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::RanluxEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::restoreStatus | ( | const char | filename[] = "Ranlux.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 286 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
void CLHEP::RanluxEngine::restoreStatus | ( | const char | filename[] = "Ranlux.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::restoreStatus | ( | const char | filename[] = "Ranlux.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::restoreStatus | ( | const char | filename[] = "Ranlux.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::saveStatus | ( | const char | filename[] = "Ranlux.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::saveStatus | ( | const char | filename[] = "Ranlux.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 253 of file RanluxEngine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::RanluxEngine::saveStatus | ( | const char | filename[] = "Ranlux.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::saveStatus | ( | const char | filename[] = "Ranlux.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::setSeed | ( | long | seed, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 131 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::mantissa_bit_24(), and CLHEP::HepRandomEngine::theSeed.
Referenced by RanluxEngine(), and setSeeds().
void CLHEP::RanluxEngine::setSeed | ( | long | seed, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::setSeed | ( | long | seed, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::setSeed | ( | long | seed, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::setSeeds | ( | const long * | seeds, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 187 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::mantissa_bit_24(), setSeed(), CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
Referenced by RanluxEngine().
void CLHEP::RanluxEngine::setSeeds | ( | const long * | seeds, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::setSeeds | ( | const long * | seeds, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::setSeeds | ( | const long * | seeds, |
int | lux = 3 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 325 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
void CLHEP::RanluxEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanluxEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
static const unsigned int CLHEP::RanluxEngine::VECTOR_STATE_SIZE = 31 [static] |
Definition at line 109 of file Matrix/CLHEP/Random/RanluxEngine.h.
Referenced by getState(), and restoreStatus().