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 |
vec itpp::Rayleigh_RNG::operator() | ( | int | n | ) |
Get a sample vector.
Definition at line 870 of file random.cpp.
Get a sample matrix.
Definition at line 880 of file random.cpp.
Generated on Tue Aug 17 2021 10:59:15 for IT++ by Doxygen 1.9.8