#include <itpp/base/random.h>
Public Member Functions | |
| Weibull_RNG (double lambda=1.0, double beta=1.0) | |
| Constructor. Set lambda and beta. | |
| void | setup (double lambda, double beta) |
| Set lambda, and beta. | |
| void | get_setup (double &lambda, double &beta) |
| Get lambda and beta. | |
| double | operator() () |
| Get one sample. | |
| vec | operator() (int n) |
| Get a sample vector. | |
| mat | operator() (int h, int w) |
| Get a sample matrix. | |
Definition at line 597 of file random.h.
|
||||||||||||
|
Constructor. Set lambda and beta.
Definition at line 368 of file random.cpp. References setup(). |
|
||||||||||||
|
Set lambda, and beta.
Definition at line 373 of file random.cpp. References itpp::gamma(). Referenced by Weibull_RNG(). |
|
||||||||||||
|
Get lambda and beta.
|
|
|
Get one sample.
|
|
|
Get a sample vector.
Definition at line 382 of file random.cpp. |
|
||||||||||||
|
Get a sample matrix.
Definition at line 392 of file random.cpp. |
Generated on Fri Jan 11 08:17:31 2008 for IT++ by Doxygen 1.3.9.1