Rice distribution. More...
#include <itpp/base/random.h>
Public Member Functions | |
| Rice_RNG (double sigma=1.0, double v=1.0) | |
| Constructor. Set sigma, and v (if v = 0, Rice -> Rayleigh). | |
| void | setup (double sigma, double v) |
| Set sigma, and v (if v = 0, Rice -> Rayleigh). | |
| void | get_setup (double &sigma, double &v) |
| Get parameters. | |
| double | operator() () |
| Get one sample. | |
| vec | operator() (int n) |
| Get a sample vector. | |
| mat | operator() (int h, int w) |
| Get a sample matrix. | |
Constructor. Set sigma, and v (if v = 0, Rice -> Rayleigh).
Definition at line 896 of file random.cpp.
References setup().
Set sigma, and v (if v = 0, Rice -> Rayleigh).
Definition at line 769 of file random.h.
Referenced by Rice_RNG().
|
inline |
| vec itpp::Rice_RNG::operator() | ( | int | n | ) |
Get a sample vector.
Definition at line 901 of file random.cpp.
Get a sample matrix.
Definition at line 911 of file random.cpp.
Generated on Mon Apr 22 2024 09:45:27 for IT++ by Doxygen 1.9.8