A Complex Normal Source. More...
#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 () | |
| Default constructor. | |
| 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. | |
| Complex_Normal_RNG & | operator= (const Complex_Normal_RNG &) |
| Dummy assignment operator - MSVC++ warning C4512. | |
|
inline |
Constructor. Set mean and variance.
Definition at line 583 of file random.h.
References itpp::mean(), and itpp::variance().
|
inline |
Set mean and variance.
Definition at line 590 of file random.h.
References itpp::mean(), and itpp::variance().
|
inline |
Get mean and variance.
Definition at line 596 of file random.h.
References itpp::mean(), and itpp::variance().
|
inline |
|
inline |
|
inline |
Get a Complex Normal (0,1) distributed vector.
Definition at line 626 of file random.h.
References itpp::Array< T >::set_size(), and itpp::Array< T >::size().
Referenced by itpp::AWGN_Channel::operator()().
Get a Complex Normal (0,1) distributed matrix.
Definition at line 632 of file random.h.
References itpp::Array< T >::set_size().
|
inline |
Generated on Mon Apr 22 2024 09:45:27 for IT++ by Doxygen 1.9.8