Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
_RandGen Struct Reference

random generator with 48bit integer arithmentic More...

#include <randomgenerator.h>

Collaboration diagram for _RandGen:

Public Member Functions

 _RandGen ()
 
void init (long int seedval)
 
double rand ()
 returns a value in [0,1) More...
 

Public Attributes

union {
   struct drand48_data   buffer
 
   char   dummy [24]
 
}; 
 

Detailed Description

random generator with 48bit integer arithmentic

Constructor & Destructor Documentation

_RandGen ( )
inline

Member Function Documentation

void init ( long int  seedval)
inline
double rand ( )
inline

returns a value in [0,1)

Member Data Documentation

union { ... }
struct drand48_data buffer
char dummy[24]

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