#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.
|
|
Constructor. Set mean and variance.
|
|
Set mean and variance.
Definition at line 508 of file random.h. References itpp::sqrt(). |
|
Get mean and 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::log(), itpp::m_2pi, itpp::sin(), and itpp::sqrt(). Referenced by itpp::randn_c(). |
|
Get a Complex Normal (0,1) distributed vector.
Definition at line 526 of file random.h. References itpp::Vec< Num_T >::set_size(). Referenced by itpp::randn_c(). |
|
Get a Complex Normal (0,1) distributed matrix.
Definition at line 533 of file random.h. References itpp::Mat< Num_T >::set_size(). Referenced by itpp::randn_c(). |
Generated on Thu Apr 19 14:20:02 2007 for IT++ by Doxygen 1.4.6