Jpp  19.1.0
the software that should make you happy
Classes | Namespaces | Functions
JRandom.hh File Reference

Definition of random value generator. More...

#include <limits>
#include "TRandom3.h"
#include "JMath/JLimits.hh"

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

 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 >
JMATH::getRandom ()
 Get random value. More...
 
template<class T >
JMATH::getRandom (const T min, const T max)
 Get uniformly distributed random value between given limits. More...
 
template<class 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...
 

Detailed Description

Definition of random value generator.

Author
mdejong

Definition in file JRandom.hh.