NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Attributes | List of all members
librandom::ExpRandomDev Class Reference

Class ExpRandomDev Create exponential random numbers. More...

#include <exp_randomdev.h>

Inheritance diagram for librandom::ExpRandomDev:
librandom::RandomDev

Public Member Functions

 ExpRandomDev (RngPtr r_in)
 
 ExpRandomDev ()
 
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...
 
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 lambda_
 rate parameter More...
 

Additional Inherited Members

- Protected Attributes inherited from librandom::RandomDev
RngPtr rng_
 store underlying RNG More...
 

Detailed Description

Class ExpRandomDev Create exponential random numbers.

Constructor & Destructor Documentation

librandom::ExpRandomDev::ExpRandomDev ( RngPtr  r_in)
inline
librandom::ExpRandomDev::ExpRandomDev ( )
inline

Member Function Documentation

void librandom::ExpRandomDev::get_status ( DictionaryDatum d) const
virtual

get distribution parameters from SLI dict

Implements librandom::RandomDev.

References nest::names::d.

double librandom::ExpRandomDev::operator() ( RngPtr  ) const
inlinevirtual

multi-threaded

Implements librandom::RandomDev.

References lambda_.

void librandom::ExpRandomDev::set_status ( const DictionaryDatum d)
virtual

set distribution parameters from SLI dict

Implements librandom::RandomDev.

References nest::names::d, and lambda_.

Member Data Documentation

double librandom::ExpRandomDev::lambda_
private

rate parameter

Referenced by operator()(), and set_status().


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