Rayleigh distribution. More...
#include <itpp/base/random.h>
Public Member Functions | |
| Rayleigh_RNG (double sigma=1.0) | |
| Constructor. Set sigma. More... | |
| void | setup (double sigma) |
| Set sigma. More... | |
| double | get_setup () |
| Get sigma. More... | |
| double | operator() () |
| Get one sample. More... | |
| vec | operator() (int n) |
| Get a sample vector. More... | |
| mat | operator() (int h, int w) |
| Get a sample matrix. More... | |
| 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.
Generated on Wed Mar 30 2022 00:00:00 for IT++ by Doxygen 1.9.3