23 #ifndef GAMMA_RANDOMDEV_H
24 #define GAMMA_RANDOMDEV_H
109 using RandomDev::operator();
129 return (*
this)(rthrd);
149 jv =
a != 1 ? 1.0 / (1-
a) : 0;
Class GammaRandomDev Create gamma distributed random numbers.
Definition: gamma_randomdev.h:89
virtual double operator()(void)
Operator delivering doubles.
Definition: randomdev.h:199
void set_status(const DictionaryDatum &)
set distribution parameters from SLI dict
Definition: gamma_randomdev.cpp:89
double b_
Definition: gamma_randomdev.h:117
double jv
Definition: gamma_randomdev.h:122
const Name a("a")
Specific to Brette & Gerstner 2005 (aeif_cond-*)
Definition: nest_names.h:41
double a
worker function creating Gamma(x; order, 1) number
Definition: gamma_randomdev.h:116
GammaRandomDev(RngPtr, double a_in=1.0)
create with fixed RNG
Definition: gamma_randomdev.cpp:30
void set_order(double)
set order
Definition: gamma_randomdev.h:139
void set_scale(double)
set scale parameter
double bc
Definition: gamma_randomdev.h:120
Abstract base class for access to non-uniform random deviate generators.
Definition: randomdev.h:131
double ju
Definition: gamma_randomdev.h:121
double bb
Definition: gamma_randomdev.h:119
void get_status(DictionaryDatum &) const
get distribution parameters from SLI dict
Definition: gamma_randomdev.cpp:107
double unscaled_gamma(RngPtr r) const
Definition: gamma_randomdev.cpp:42