#include <itpp/base/random.h>
Public Member Functions | |
Complex_Normal_RNG (std::complex< double > mean, double variance) | |
Constructor. Set mean and variance. | |
Complex_Normal_RNG () | |
Constructor. Set mean and variance. | |
void | setup (std::complex< double > mean, double variance) |
Set mean and variance. | |
void | get_setup (std::complex< double > &mean, double &variance) |
Get mean and variance. | |
std::complex< double > | operator() () |
Get one sample. | |
cvec | operator() (int n) |
Get a sample vector. | |
cmat | operator() (int h, int w) |
Get a sample matrix. | |
std::complex< double > | sample () |
Get a Complex Normal (0,1) distributed sample. | |
void | sample_vector (int size, cvec &out) |
Get a Complex Normal (0,1) distributed vector. | |
void | sample_matrix (int rows, int cols, cmat &out) |
Get a Complex Normal (0,1) distributed matrix. |
Definition at line 501 of file random.h.
|
Constructor. Set mean and variance.
Definition at line 504 of file random.h. References itpp::mean(), and itpp::variance(). |
|
Constructor. Set mean and variance.
|
|
Set mean and variance.
Definition at line 508 of file random.h. References itpp::sqrt(), and itpp::variance(). |
|
Get mean and variance.
Definition at line 510 of file random.h. References itpp::mean(), and itpp::variance(). |
|
Get one sample.
|
|
Get a sample vector.
|
|
Get a sample matrix.
|
|
Get a Complex Normal (0,1) distributed sample.
Definition at line 518 of file random.h. References itpp::cos(), itpp::sin(), and itpp::sqrt(). |
|
Get a Complex Normal (0,1) distributed vector.
Definition at line 526 of file random.h. References itpp::Vec< Num_T >::set_size(), and itpp::size(). |
|
Get a Complex Normal (0,1) distributed matrix.
Definition at line 533 of file random.h. References itpp::Mat< Num_T >::set_size(). |
Generated on Fri Jan 11 08:51:42 2008 for IT++ by Doxygen 1.3.9.1