![]() |
GeNN
2.2.3
GPU enhanced Neuronal Networks (GeNN)
|
#include <randomGen.h>
Public Member Functions | |
| stdRG () | |
| Constructor of the standard random number generator class without explicit seed. More... | |
| stdRG (unsigned int) | |
| Constructor of the standard random number generator class with explicit seed. More... | |
| ~stdRG () | |
| double | n () |
| Method to generate a uniform random number. More... | |
| unsigned long | nlong () |
|
explicit |
Constructor of the standard random number generator class without explicit seed.
The seed is taken from teh internal clock of the computer.
| stdRG::stdRG | ( | unsigned int | seed | ) |
Constructor of the standard random number generator class with explicit seed.
The seed is an arbitrary unsigned int
|
inline |
| double stdRG::n | ( | ) |
Method to generate a uniform random number.
The moethod is a wrapper for the C function rand() and returns a pseudo random number in the interval [0,1[
| unsigned long stdRG::nlong | ( | ) |