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

Create lognormal random numbers with uniform variance. More...

#include <lognormal_randomdev.h>

Inheritance diagram for librandom::LognormalRandomDev:
librandom::RandomDev

Public Member Functions

 LognormalRandomDev (RngPtr)
 
 LognormalRandomDev ()
 
double operator() (RngPtr) 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 mu_
 
double sigma_
 

Additional Inherited Members

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

Detailed Description

Create lognormal random numbers with uniform variance.

Constructor & Destructor Documentation

librandom::LognormalRandomDev::LognormalRandomDev ( RngPtr  r_source)
librandom::LognormalRandomDev::LognormalRandomDev ( )

Member Function Documentation

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

get distribution parameters from SLI dict

Implements librandom::RandomDev.

References nest::names::d.

double librandom::LognormalRandomDev::operator() ( RngPtr  ) const
virtual

multi-threaded

Implements librandom::RandomDev.

References librandom::RandomGen::drand(), and nest::names::S.

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

set distribution parameters from SLI dict

Implements librandom::RandomDev.

References nest::names::d.

Member Data Documentation

double librandom::LognormalRandomDev::mu_
private
double librandom::LognormalRandomDev::sigma_
private

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