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. | |
itpp::Rice_RNG::Rice_RNG | ( | double | sigma = 1.0, |
double | v = 1.0 ) |
Constructor. Set sigma, and v (if v = 0, Rice -> Rayleigh).
Definition at line 896 of file random.cpp.
References setup().
|
inline |
Set sigma, and v (if v = 0, Rice -> Rayleigh).
Definition at line 769 of file random.h.
Referenced by itpp::randrice(), and Rice_RNG().
|
inline |
|
inline |
vec itpp::Rice_RNG::operator() | ( | int | n | ) |
Get a sample vector.
Definition at line 901 of file random.cpp.
mat itpp::Rice_RNG::operator() | ( | int | h, |
int | w ) |
Get a sample matrix.
Definition at line 911 of file random.cpp.
Generated on Mon Apr 7 2025 07:53:18 for IT++ by Doxygen 1.11.0