|
GNU Radio 3.5.3.1 C++ API
|
#include <gr_core_api.h>#include <gr_sync_block.h>#include <gr_noise_type.h>#include <gr_random.h>
Go to the source code of this file.
Classes | |
| class | gr_noise_source_f |
| Random number source. More... | |
Functions | |
| GR_CORE_API gr_noise_source_f_sptr | gr_make_noise_source_f (gr_noise_type_t type, float ampl, long seed=0) |
| Make a noise source. | |
| GR_CORE_API gr_noise_source_f_sptr gr_make_noise_source_f | ( | gr_noise_type_t | type, |
| float | ampl, | ||
| long | seed = 0 |
||
| ) |
Make a noise source.
| type | the random distribution to use (see gr_noise_type.h) |
| ampl | a scaling factor for the output |
| seed | seed for random generators. Note that for uniform and Gaussian distributions, this should be a negative number. |