13#ifndef ROOT_Math_StdEngine
14#define ROOT_Math_StdEngine
26 template<
class Generator>
28 static const char *
Name() {
return "std_random_eng";}
32 static const char *
Name() {
return "std_minstd_rand";}
36 static const char *
Name() {
return "std_mt19937";}
40 static const char *
Name() {
return "std_mt19937_64";}
44 static const char *
Name() {
return "std_ranlux24";}
48 static const char *
Name() {
return "std_ranlux48";}
52 static const char *
Name() {
return "std_knuth_b";}
56 static const char *
Name() {
return "std_random_device";}
73 template <
class Generator>
80 typedef typename Generator::result_type
Result_t;
91 if (rndm != 0)
return fCONS*rndm;
107 static uint64_t
MaxInt() {
return Generator::max(); }
Class to wrap engines fron the C++ standard random library in the ROOT Random interface.
Generator::result_type Result_t
static const char * Name()
void SetSeed(Result_t seed)
Namespace for new Math classes and functions.
Namespace for new ROOT classes and functions.
static const char * Name()
static const char * Name()
static const char * Name()
static const char * Name()
static const char * Name()
static const char * Name()
static const char * Name()
static const char * Name()