Jpp
17.3.2
the software that should make you happy
|
Definition of random value generator. More...
Go to the source code of this file.
Classes | |
struct | JMATH::JRandom< T, is_specialized > |
Template definition of random value generator. More... | |
struct | JMATH::JRandom< T, true > |
Template spacialisation of JMATH::JRandom for numerical values. More... | |
struct | JMATH::JRandom< T, false > |
Template spacialisation of JMATH::JRandom for non-numerical data types. More... | |
Namespaces | |
JMATH | |
Auxiliary classes and methods for mathematical operations. | |
JPP | |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
template<class T > | |
T | JMATH::getRandom () |
Get random value. More... | |
template<class T > | |
T | JMATH::getRandom (const T min, const T max) |
Get uniformly distributed random value between given limits. More... | |
template<class T > | |
T | JMATH::getRandom (const T min, const T max, const T precision) |
Get uniformly distributed random value between given limits. More... | |
template<> | |
double | JMATH::getRandom (const double min, const double max, const double precision) |
Template specialisation for data type double . More... | |
Definition of random value generator.
Definition in file JRandom.hh.