23 #ifndef INCLUDED_GR_RANDOM_H 24 #define INCLUDED_GR_RANDOM_H 30 #include <boost/random.hpp> 47 boost::uniform_real<float>*
50 boost::variate_generator<boost::mt19937&, boost::uniform_real<float>>*
d_generator;
54 random(
unsigned int seed = 0,
int min_integer = 0,
int max_integer = 2);
62 void reseed(
unsigned int seed);
69 void set_integer_limits(
const int minimum,
const int maximum);
103 float impulse(
float factor);
float d_gauss_value
Definition: random.h:44
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
boost::uniform_real< float > * d_uniform
Definition: random.h:48
std::complex< float > gr_complex
Definition: gr_complex.h:27
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
long d_seed
Definition: random.h:42
boost::uniform_int * d_integer_dis
Definition: random.h:49
boost::variate_generator< boost::mt19937 &, boost::uniform_real< float > > * d_generator
Definition: random.h:50
boost::variate_generator< boost::mt19937 &, boost::uniform_int<> > * d_integer_generator
Definition: random.h:51
bool d_gauss_stored
Definition: random.h:43
boost::mt19937 * d_rng
Definition: random.h:46
pseudo random number generator
Definition: random.h:39