NEST
2.6.0,not_revisioned_source_dir@0
|
Class UniformIntRandomDev Create uniformly distributed random integers from a given range. More...
#include <uniformint_randomdev.h>
Public Member Functions | |
UniformIntRandomDev (RngPtr r_in) | |
UniformIntRandomDev () | |
long | ldev (RngPtr) const |
draw integer, threaded More... | |
bool | has_ldev () const |
true if RDG implements ldev function More... | |
double | operator() (RngPtr rthrd) 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... | |
void | set_rng (RngPtr rng) |
set RNG More... | |
Private Attributes | |
long | nmin_ |
smallest permissible number More... | |
long | nmax_ |
largest permissible number More... | |
long | range_ |
nmax_ - nmin_ + 1 More... | |
Additional Inherited Members | |
Protected Attributes inherited from librandom::RandomDev | |
RngPtr | rng_ |
store underlying RNG More... | |
Class UniformIntRandomDev Create uniformly distributed random integers from a given range.
librandom::UniformIntRandomDev::UniformIntRandomDev | ( | RngPtr | r_in | ) |
librandom::UniformIntRandomDev::UniformIntRandomDev | ( | ) |
|
virtual |
get distribution parameters from SLI dict
Implements librandom::RandomDev.
References nest::names::d.
|
inlinevirtual |
true if RDG implements ldev function
Reimplemented from librandom::RandomDev.
|
inlinevirtual |
draw integer, threaded
Reimplemented from librandom::RandomDev.
|
inlinevirtual |
|
virtual |
set distribution parameters from SLI dict
Implements librandom::RandomDev.
References nest::names::d, and nest::names::max.
|
private |
largest permissible number
|
private |
smallest permissible number
Referenced by ldev().
|
private |
nmax_ - nmin_ + 1
Referenced by ldev().