#include <gr_random.h>
Public Member Functions | |
| gr_random (long seed=3021) | |
| void | reseed (long seed) |
| float | ran1 () |
| uniform random deviate in the range [0.0, 1.0) | |
| float | gasdev () |
| normally distributed deviate with zero mean and variance 1 | |
| float | laplacian () |
| float | impulse (float factor) |
| float | rayleigh () |
| gr_complex | rayleigh_complex () |
Protected Attributes | |
| long | d_seed |
| long | d_iy |
| long | d_iv [NTAB] |
| int | d_iset |
| float | d_gset |
Static Protected Attributes | |
| const int | NTAB = 32 |
|
|
|
|
|
normally distributed deviate with zero mean and variance 1
|
|
|
|
|
|
|
|
|
uniform random deviate in the range [0.0, 1.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.3