13 #ifndef ROOT_UnuranRng 14 #define ROOT_UnuranRng 21 template<
class Random>
33 static void Seed(
void * p,
unsigned long seed) {
34 Random * r =
reinterpret_cast<Random *
> (p);
39 static double Rndm(
void * p) {
40 Random * r =
reinterpret_cast<Random *
> (p);
static void Seed(void *p, unsigned long seed)
function to set the seed in the random
UnuranRng class for interface ROOT random generators to Unuran.
static double Rndm(void *p)
function to sample random generator
static void Delete(void *)
function to delete object (not needed)