NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Attributes | List of all members
librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV > Class Template Reference

Wrapper template turning any continuous RDV into a clipped-to-boundary RDV. More...

#include <clipped_randomdev.h>

Inheritance diagram for librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >:

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...
 

Detailed Description

template<typename BaseRDV>
class librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >

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!

See also
ClippedToBoundaryDiscreteRandomDev

Constructor & Destructor Documentation

References assert().

References assert().

Member Function Documentation

template<typename BaseRDV >
void librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::get_status ( DictionaryDatum d) const

get distribution parameters from SLI dict

References nest::names::d.

template<typename BaseRDV >
double librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::operator() ( void  )
inline
template<typename BaseRDV >
double librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::operator() ( RngPtr  r) const
inline
template<typename BaseRDV >
void librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::set_status ( const DictionaryDatum d)

set distribution parameters from SLI dict

References nest::names::d.

Member Data Documentation

template<typename BaseRDV >
double librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::max_
private

upper bound

template<typename BaseRDV >
double librandom::ClippedToBoundaryContinuousRandomDev< BaseRDV >::min_
private

lower bound


The documentation for this class was generated from the following file: