changa 3.5
Loading...
Searching...
No Matches
Rand Class Reference

basic random number generator This is implemented as an object so that it can easily be used in threads: one Rand instance per thread. More...

#include <rand.h>

Public Member Functions

 Rand (u_int64_t j=0)
 
u_int64_t int64 ()
 return 64 bit random number
 
double dbl ()
 return random double 0<x<1
 
u_int32_t int32 ()
 return 32 bit random number
 

Detailed Description

basic random number generator This is implemented as an object so that it can easily be used in threads: one Rand instance per thread.


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