GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
randomGauss Class Reference

Class random Gauss encapsulates the methods for generating random neumbers with Gaussian distribution. More...

#include <gauss.h>

Public Member Functions

 randomGauss ()
 Constructor for the Gaussian random number generator class without giving explicit seeds. More...
 
 randomGauss (unsigned long, unsigned long, unsigned long)
 Constructor for the Gaussian random number generator class when seeds are provided explicitly. More...
 
 ~randomGauss ()
 
double n ()
 Method for obtaining a random number with Gaussian distribution. More...
 
void srand (unsigned long, unsigned long, unsigned long)
 Function for seeding with fixed seeds. More...
 

Detailed Description

Class random Gauss encapsulates the methods for generating random neumbers with Gaussian distribution.

A random number from a Gaussian distribution of mean 0 and standard deviation 1 is obtained by calling the method randomGauss::n().

Constructor & Destructor Documentation

randomGauss::randomGauss ( )
explicit

Constructor for the Gaussian random number generator class without giving explicit seeds.

The seeds for random number generation are generated from the internal clock of the computer during execution.

randomGauss::randomGauss ( unsigned long  seed1,
unsigned long  seed2,
unsigned long  seed3 
)

Constructor for the Gaussian random number generator class when seeds are provided explicitly.

The seeds are three arbitrary unsigned long integers.

randomGauss::~randomGauss ( )
inline

Member Function Documentation

double randomGauss::n ( )

Method for obtaining a random number with Gaussian distribution.

Function for generating a pseudo random number from a Gaussian distribution.

void randomGauss::srand ( unsigned long  seed1,
unsigned long  seed2,
unsigned long  seed3 
)

Function for seeding with fixed seeds.


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