GeNN  1.1
GPU enhanced Neuronal Networks (GeNN)
 All Classes Files Functions Variables Typedefs Macros Pages
gauss.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------
2  Author: Thomas Nowotny
3 
4  Institute: Institute for Nonlinear Dynamics
5  University of California San Diego
6  La Jolla, CA 92093-0402
7 
8  email to: tnowotny@ucsd.edu
9 
10  initial version: 2002-00-08
11 
12 --------------------------------------------------------------------------*/
13 
14 #ifndef GAUSS_H
15 #define GAUSS_H
16 
17 //-----------------------------------------------------------------------
30 //-----------------------------------------------------------------------
31 
32 #include <cmath>
33 #include "randomGen.h"
34 
35 //-----------------------------------------------------------------------
41 //-----------------------------------------------------------------------
42 
44 {
45 private:
46  QTIsaac<8, unsigned long> UniGen;
47  double s, t, a, b, r1, r2;
48  double u, v;
49  double x, y, q;
50  int done;
51 
52  public:
53  explicit randomGauss();
54  randomGauss(unsigned long, unsigned long, unsigned long);
56  double n();
57 };
58 
59 #include "randomGen.cc"
60 #include "gauss.cc"
61 
62 #endif
header file containing the class definition for a uniform random generator based on the ISAAC random ...
~randomGauss()
Definition: gauss.h:55
Contains the implementation of the Gaussian random number generator class randomGauss.
double n()
Method for obtaining a random number with Gaussian distribution.
Definition: gauss.cc:75
randomGauss()
Constructor for the Gaussian random number generator class without giving explicit seeds...
Definition: gauss.cc:31
Class random Gauss encapsulates the methods for generating random neumbers with Gaussian distribution...
Definition: gauss.h:43
Contains the implementation of the ISAAC random number generator class for uniformly distributed rand...