|
NEST
2.6.0,not_revisioned_source_dir@0
|
Wrapper template turning any discrete RDV into a clipped-to-boundary RDV. More...
#include <clipped_randomdev.h>
Public Member Functions | |
| ClippedToBoundaryDiscreteRandomDev (RngPtr) | |
| ClippedToBoundaryDiscreteRandomDev () | |
| double | operator() (void) |
| double | operator() (RngPtr) const |
| long | ldev (void) |
| long | ldev (RngPtr) const |
| void | set_status (const DictionaryDatum &) |
| set distribution parameters from SLI dict More... | |
| void | get_status (DictionaryDatum &) const |
| get distribution parameters from SLI dict More... | |
Private Attributes | |
| long | min_ |
| smallest value More... | |
| long | max_ |
| largest value More... | |
Wrapper template turning any discrete RDV into a clipped-to-boundary RDV.
To-boundary RDVs return the boundary value if a number outside the interval is drawn. This is mainly for reproduction of existing models using this approach, it does not make much sense!
| librandom::ClippedToBoundaryDiscreteRandomDev< BaseRDV >::ClippedToBoundaryDiscreteRandomDev | ( | RngPtr | r | ) |
References assert().
| librandom::ClippedToBoundaryDiscreteRandomDev< BaseRDV >::ClippedToBoundaryDiscreteRandomDev | ( | ) |
References assert().
| void librandom::ClippedToBoundaryDiscreteRandomDev< BaseRDV >::get_status | ( | DictionaryDatum & | d | ) | const |
get distribution parameters from SLI dict
References nest::names::d.
|
inline |
|
inline |
|
inline |
|
inline |
| void librandom::ClippedToBoundaryDiscreteRandomDev< BaseRDV >::set_status | ( | const DictionaryDatum & | d | ) |
set distribution parameters from SLI dict
References nest::names::d.
|
private |
largest value
|
private |
smallest value
1.8.7