#include <itpp/base/random.h>
Public Member Functions | |
AR1_Normal_RNG (double meanval=0.0, double variance=1.0, double rho=0.0) | |
Constructor. Set mean, variance, and correlation. | |
void | setup (double meanval, double variance, double rho) |
Set mean, variance, and correlation. | |
void | get_setup (double &meanval, double &variance, double &rho) const |
Get mean, variance and correlation. | |
void | reset () |
Set memory contents to zero. | |
double | operator() () |
Get a single random sample. | |
vec | operator() (int n) |
Get a sample vector. | |
mat | operator() (int h, int w) |
Get a sample matrix. |
Definition at line 552 of file random.h.
|
Constructor. Set mean, variance, and correlation.
Definition at line 310 of file random.cpp. |
|
Set mean, variance, and correlation.
Definition at line 320 of file random.cpp. |
|
Get mean, variance and correlation.
Definition at line 330 of file random.cpp. |
|
Set memory contents to zero.
Definition at line 359 of file random.cpp. |
|
Get a single random sample.
|
|
Get a sample vector.
Definition at line 337 of file random.cpp. |
|
Get a sample matrix.
Definition at line 347 of file random.cpp. |
Generated on Thu Apr 19 14:24:02 2007 for IT++ by Doxygen 1.4.6