random_signal_generator
A utility for generating random data signals
impl.h
Go to the documentation of this file.
1 #ifndef IMPL_H
4 #define IMPL_H
5 
7 
8 #include <random>
9 
12 {
13 public:
15  impl();
16 
18  double random_zero_one();
20  double random_pm_one();
21 
22 private:
24  std::random_device random_device;
26  std::uniform_real_distribution<double> distribution_zero_one;
28  std::uniform_real_distribution<double> distribution_pm_one;
30  std::mt19937 random_generator;
31 };
32 
33 #endif
double random_zero_one()
Generates a random number between 0 and 1.
Definition: impl.cpp:12
impl()
Initializes a new implementation class.
Definition: impl.cpp:5
Defines the random_signal_generator class.
The private implementation class for the random_signal_generator.
Definition: impl.h:11
double random_pm_one()
Generates a random number between -1 and 1.
Definition: impl.cpp:16