Jpp  master_rocky
the software that should make you happy
Public Member Functions | List of all members
JMATH::JRandom< T, is_specialized > Struct Template Reference

Template definition of random value generator. More...

Public Member Functions

double getRandom ()
 Template specialisation for data type double because TRandom has 32 bits. More...
 

Detailed Description

template<class T, bool is_specialized = JLimits<T>::is_specialized>
struct JMATH::JRandom< T, is_specialized >

Template definition of random value generator.

Definition at line 26 of file JRandom.hh.

Member Function Documentation

◆ getRandom()

double JMATH::JRandom< double >::getRandom ( )
inline

Template specialisation for data type double because TRandom has 32 bits.

Definition at line 64 of file JRandom.hh.

65  {
66  return gRandom->Uniform((Double_t) JLimits<float>::min(), (Double_t) JLimits<float>::max());
67  }
Auxiliary class for minimum and maximum values for any class.
Definition: JLimits.hh:21

The documentation for this struct was generated from the following file: