Jpp 19.3.0-rc.1
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, 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 | |
namespace | JMATH |
Auxiliary classes and methods for mathematical operations. | |
namespace | JPP |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
template<class T > | |
T | JMATH::getRandom () |
Get random value. | |
template<class T > | |
T | JMATH::getRandom (const T min, const T max) |
Get uniformly distributed random value between given limits. | |
template<class T > | |
T | JMATH::getRandom (const T min, const T max, const T precision) |
Get uniformly distributed random value between given limits. | |
template<> | |
double | JMATH::getRandom (const double min, const double max, const double precision) |
Template specialisation for data type double . | |
Definition of random value generator.
Definition in file JMath/JRandom.hh.