IT++ 4.3.1
|
Rayleigh distribution. More...
#include <itpp/base/random.h>
Public Member Functions | |
Rayleigh_RNG (double sigma=1.0) | |
Constructor. Set sigma. | |
void | setup (double sigma) |
Set sigma. | |
double | get_setup () |
Get sigma. | |
double | operator() () |
Get one sample. | |
vec | operator() (int n) |
Get a sample vector. | |
mat | operator() (int h, int w) |
Get a sample matrix. | |
itpp::Rayleigh_RNG::Rayleigh_RNG | ( | double | sigma = 1.0 | ) |
|
inline |
Set sigma.
Definition at line 739 of file random.h.
Referenced by itpp::randray(), and Rayleigh_RNG().
|
inline |
vec itpp::Rayleigh_RNG::operator() | ( | int | n | ) |
Get a sample vector.
Definition at line 870 of file random.cpp.
mat itpp::Rayleigh_RNG::operator() | ( | int | h, |
int | w ) |
Get a sample matrix.
Definition at line 880 of file random.cpp.