Robot Simulator of the Robotics Group for Self-Organization of Control: _RandGen Struct Reference

# _RandGen Struct Reference

random generator with 48bit integer arithmentic More...

`#include <randomgenerator.h>`

Collaboration diagram for _RandGen:
[legend]

List of all members.

## Public Member Functions
| _RandGen ()
void | init (long int seedval)
double | rand ()
| returns a value in [0,1)
## 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:

- randomgenerator.h