NEST
2.6.0,not_revisioned_source_dir@0
|
Create normal (Gaussian) random numbers with uniform variance. More...
#include <normal_randomdev.h>
Public Member Functions | |
NormalRandomDev (RngPtr) | |
NormalRandomDev () | |
double | operator() (RngPtr) const |
multi-threaded More... | |
void | set_status (const DictionaryDatum &) |
set distribution parameters from SLI dict More... | |
void | get_status (DictionaryDatum &) const |
get distribution parameters from SLI dict More... | |
Public Member Functions inherited from librandom::RandomDev | |
RandomDev (RngPtr rng=RngPtr(0)) | |
Construct with (single-threaded) or without (multithreaded) RNG. More... | |
virtual | ~RandomDev () |
ensure proper clean-up More... | |
virtual double | operator() (void) |
Operator delivering doubles. More... | |
virtual long | ldev (void) |
integer valued functions for discrete distributions More... | |
virtual long | ldev (RngPtr) const |
virtual bool | has_ldev () const |
true if RDG implements ldev function More... | |
void | set_rng (RngPtr rng) |
set RNG More... | |
Private Attributes | |
double | mu_ |
double | sigma_ |
Additional Inherited Members | |
Protected Attributes inherited from librandom::RandomDev | |
RngPtr | rng_ |
store underlying RNG More... | |
Create normal (Gaussian) random numbers with uniform variance.
The numbers are generated using the polar method.
librandom::NormalRandomDev::NormalRandomDev | ( | RngPtr | r_source | ) |
librandom::NormalRandomDev::NormalRandomDev | ( | ) |
|
virtual |
get distribution parameters from SLI dict
Implements librandom::RandomDev.
References nest::names::d.
|
virtual |
multi-threaded
Implements librandom::RandomDev.
References librandom::RandomGen::drand(), and nest::names::S.
|
virtual |
set distribution parameters from SLI dict
Implements librandom::RandomDev.
References nest::names::d.
|
private |
|
private |