A Complex Normal Source.
More...
#include <itpp/base/random.h>
|
| Complex_Normal_RNG (std::complex< double > mean, double variance) |
| Constructor. Set mean and variance. More...
|
|
| Complex_Normal_RNG () |
| Default constructor. More...
|
|
void | setup (std::complex< double > mean, double variance) |
| Set mean and variance. More...
|
|
void | get_setup (std::complex< double > &mean, double &variance) |
| Get mean and variance. More...
|
|
std::complex< double > | operator() () |
| Get one sample. More...
|
|
cvec | operator() (int n) |
| Get a sample vector. More...
|
|
cmat | operator() (int h, int w) |
| Get a sample matrix. More...
|
|
std::complex< double > | sample () |
| Get a Complex Normal (0,1) distributed sample. More...
|
|
void | sample_vector (int size, cvec &out) |
| Get a Complex Normal (0,1) distributed vector. More...
|
|
void | sample_matrix (int rows, int cols, cmat &out) |
| Get a Complex Normal (0,1) distributed matrix. More...
|
|
Complex_Normal_RNG & | operator= (const Complex_Normal_RNG &) |
| Dummy assignment operator - MSVC++ warning C4512. More...
|
|
A Complex Normal Source.
Definition at line 579 of file random.h.
◆ Complex_Normal_RNG() [1/2]
itpp::Complex_Normal_RNG::Complex_Normal_RNG |
( |
std::complex< double > |
mean, |
|
|
double |
variance |
|
) |
| |
|
inline |
◆ Complex_Normal_RNG() [2/2]
itpp::Complex_Normal_RNG::Complex_Normal_RNG |
( |
| ) |
|
|
inline |
◆ setup()
void itpp::Complex_Normal_RNG::setup |
( |
std::complex< double > |
mean, |
|
|
double |
variance |
|
) |
| |
|
inline |
◆ get_setup()
void itpp::Complex_Normal_RNG::get_setup |
( |
std::complex< double > & |
mean, |
|
|
double & |
variance |
|
) |
| |
|
inline |
◆ operator()() [1/3]
std::complex< double > itpp::Complex_Normal_RNG::operator() |
( |
| ) |
|
|
inline |
Get one sample.
Definition at line 601 of file random.h.
◆ operator()() [2/3]
cvec itpp::Complex_Normal_RNG::operator() |
( |
int |
n | ) |
|
|
inline |
Get a sample vector.
Definition at line 603 of file random.h.
◆ operator()() [3/3]
cmat itpp::Complex_Normal_RNG::operator() |
( |
int |
h, |
|
|
int |
w |
|
) |
| |
|
inline |
Get a sample matrix.
Definition at line 611 of file random.h.
◆ sample()
std::complex< double > itpp::Complex_Normal_RNG::sample |
( |
| ) |
|
|
inline |
◆ sample_vector()
void itpp::Complex_Normal_RNG::sample_vector |
( |
int |
size, |
|
|
cvec & |
out |
|
) |
| |
|
inline |
◆ sample_matrix()
void itpp::Complex_Normal_RNG::sample_matrix |
( |
int |
rows, |
|
|
int |
cols, |
|
|
cmat & |
out |
|
) |
| |
|
inline |
◆ operator=()
Dummy assignment operator - MSVC++ warning C4512.
Definition at line 638 of file random.h.
The documentation for this class was generated from the following file: