23 #ifndef INCLUDED_GR_RANDOM_H
24 #define INCLUDED_GR_RANDOM_H
30 #include <boost/random.hpp>
49 boost::variate_generator<boost::mt19937&, boost::uniform_real<float> > *
d_generator;
50 boost::variate_generator<boost::mt19937&, boost::random::uniform_int_distribution<> > *
d_integer_generator;
53 random(
unsigned int seed=0,
int min_integer = 0,
int max_integer = 2);
59 void reseed(
unsigned int seed);
66 void set_integer_limits(
const int minimum,
const int maximum);
96 float impulse(
float factor);
float d_gauss_value
Definition: random.h:44
boost::variate_generator< boost::mt19937 &, boost::random::uniform_int_distribution<> > * d_integer_generator
Definition: random.h:50
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
boost::uniform_real< float > * d_uniform
Definition: random.h:47
std::complex< float > gr_complex
Definition: gr_complex.h:27
Include this header to use the message passing features.
Definition: logger.h:131
boost::random::uniform_int_distribution * d_integer_dis
Definition: random.h:48
long d_seed
Definition: random.h:42
boost::variate_generator< boost::mt19937 &, boost::uniform_real< float > > * d_generator
Definition: random.h:49
bool d_gauss_stored
Definition: random.h:43
boost::mt19937 * d_rng
Definition: random.h:46
pseudo random number generator
Definition: random.h:39