CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <RanshiEngine.h>
Public Member Functions | |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
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[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.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) |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
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[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.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) |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
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[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.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) |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
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[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.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) |
![]() | |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
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) |
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 53 of file RandomObjects/CLHEP/Random/RanshiEngine.h.
CLHEP::RanshiEngine::RanshiEngine | ( | ) |
Definition at line 49 of file RanshiEngine.cc.
References flat(), and CLHEP::HepRandomEngine::theSeed.
Referenced by setSeed().
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
Definition at line 64 of file RanshiEngine.cc.
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
Definition at line 71 of file RanshiEngine.cc.
References flat(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex ) |
Definition at line 86 of file RanshiEngine.cc.
References flat(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Definition at line 100 of file RanshiEngine.cc.
CLHEP::RanshiEngine::RanshiEngine | ( | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex ) |
|
virtual |
CLHEP::RanshiEngine::RanshiEngine | ( | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex ) |
|
virtual |
CLHEP::RanshiEngine::RanshiEngine | ( | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex ) |
|
virtual |
|
static |
Definition at line 306 of file RanshiEngine.cc.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 96 of file Matrix/CLHEP/Random/RanshiEngine.h.
Referenced by restoreStatus().
|
inlinestatic |
Definition at line 96 of file Random/CLHEP/Random/RanshiEngine.h.
|
inlinestatic |
Definition at line 96 of file Random/Random/RanshiEngine.h.
|
inlinestatic |
Definition at line 96 of file RandomObjects/CLHEP/Random/RanshiEngine.h.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 102 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray(), RanshiEngine(), RanshiEngine(), and RanshiEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 117 of file RanshiEngine.cc.
References flat().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 348 of file RanshiEngine.cc.
References CLHEP::engineIDulong(), and getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 289 of file RanshiEngine.cc.
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 357 of file RanshiEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 310 of file RanshiEngine.cc.
References getState(), CLHEP::possibleKeywordInput(), and CLHEP::HepRandomEngine::theSeed.
Referenced by get(), get(), getState(), and restoreStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 44 of file RanshiEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 228 of file RanshiEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 240 of file RanshiEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 277 of file RanshiEngine.cc.
References CLHEP::engineIDulong().
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 252 of file RanshiEngine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 174 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 144 of file RanshiEngine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 123 of file RanshiEngine.cc.
References RanshiEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 127 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 211 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.