NEST
2.6.0,not_revisioned_source_dir@0
|
Wrapper template turning any continuous RDV into a clipped-to-boundary RDV. More...
#include <clipped_randomdev.h>
Public Member Functions | |
ClippedToBoundaryContinuousRandomDev (RngPtr) | |
ClippedToBoundaryContinuousRandomDev () | |
double | operator() (void) |
double | operator() (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 | |
double | min_ |
lower bound More... | |
double | max_ |
upper bound More... | |
Wrapper template turning any continuous 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::ClippedToBoundaryContinuousRandomDev< BaseRDV >::ClippedToBoundaryContinuousRandomDev | ( | RngPtr | r | ) |
References assert().
librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::ClippedToBoundaryContinuousRandomDev | ( | ) |
References assert().
void librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::get_status | ( | DictionaryDatum & | d | ) | const |
get distribution parameters from SLI dict
References nest::names::d.
|
inline |
|
inline |
void librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::set_status | ( | const DictionaryDatum & | d | ) |
set distribution parameters from SLI dict
References nest::names::d.
|
private |
upper bound
|
private |
lower bound