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.
Generated on Tue Dec 10 2024 04:49:37 for IT++ by Doxygen 1.12.0