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) |
![]() | |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
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 std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
Static Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 31 |
Additional Inherited Members | |
![]() | |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
![]() | |
long | theSeed |
const long * | theSeeds |
Definition at line 46 of file Matrix/CLHEP/Random/RanluxEngine.h.
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
Definition at line 121 of file RanluxEngine.cc.
References is().
CLHEP::RanluxEngine::RanluxEngine | ( | ) |
Definition at line 79 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 65 of file RanluxEngine.cc.
References setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
Definition at line 100 of file RanluxEngine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Definition at line 127 of file RanluxEngine.cc.
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
|
virtual |
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
|
virtual |
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | ) |
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
|
virtual |
|
static |
Definition at line 556 of file RanluxEngine.cc.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 103 of file Random/CLHEP/Random/RanluxEngine.h.
|
inlinestatic |
Definition at line 103 of file RandomObjects/CLHEP/Random/RanluxEngine.h.
|
inlinestatic |
Definition at line 103 of file Random/Random/RanluxEngine.h.
|
inlinestatic |
Definition at line 103 of file Matrix/CLHEP/Random/RanluxEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 338 of file RanluxEngine.cc.
References CLHEP::DoubConv::d2x(), double, i, CLHEP::HepRandomEngine::mantissa_bit_12(), and CLHEP::HepRandomEngine::mantissa_bit_24().
Implements CLHEP::HepRandomEngine.
Definition at line 420 of file RanluxEngine.cc.
References double, i, CLHEP::HepRandomEngine::mantissa_bit_12(), CLHEP::HepRandomEngine::mantissa_bit_24(), and size().
Implements CLHEP::HepRandomEngine.
Implements CLHEP::HepRandomEngine.
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 605 of file RanluxEngine.cc.
References getState(), and v.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 538 of file RanluxEngine.cc.
References getState(), and is().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
inline |
Definition at line 92 of file Matrix/CLHEP/Random/RanluxEngine.h.
|
inline |
Definition at line 92 of file Random/Random/RanluxEngine.h.
|
inline |
Definition at line 92 of file Random/CLHEP/Random/RanluxEngine.h.
|
inline |
Definition at line 92 of file RandomObjects/CLHEP/Random/RanluxEngine.h.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 614 of file RanluxEngine.cc.
References i, CLHEP::HepRandomEngine::mantissa_bit_24(), v, and VECTOR_STATE_SIZE.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 560 of file RanluxEngine.cc.
References i, is(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, v, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 57 of file RanluxEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 473 of file RanluxEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 506 of file RanluxEngine.cc.
References i, CLHEP::HepRandomEngine::mantissa_bit_24(), and v.
Referenced by put(), and saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 480 of file RanluxEngine.cc.
References i, put(), CLHEP::HepRandomEngine::theSeed, and v.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 284 of file RanluxEngine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), i, in, CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, v, and VECTOR_STATE_SIZE.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 251 of file RanluxEngine.cc.
References i, put(), CLHEP::HepRandomEngine::theSeed, and v.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 129 of file RanluxEngine.cc.
References i, CLHEP::HepRandomEngine::mantissa_bit_24(), and CLHEP::HepRandomEngine::theSeed.
Referenced by RanluxEngine(), and setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 185 of file RanluxEngine.cc.
References i, CLHEP::HepRandomEngine::mantissa_bit_24(), seeds(), setSeed(), CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
Referenced by RanluxEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 323 of file RanluxEngine.cc.
References i, and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
static |
Definition at line 109 of file Matrix/CLHEP/Random/RanluxEngine.h.
Referenced by getState(), and restoreStatus().