#include <itpp/base/random.h>
Public Member Functions | |
Exponential_RNG (double lambda=1.0) | |
constructor. Set lambda. | |
void | setup (double lambda) |
Set lambda. | |
double | get_setup () const |
get lambda | |
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 376 of file random.h.
itpp::Exponential_RNG::Exponential_RNG | ( | double | lambda = 1.0 |
) |
void itpp::Exponential_RNG::setup | ( | double | lambda | ) | [inline] |
Set lambda.
Definition at line 381 of file random.h.
Referenced by Exponential_RNG(), itpp::randexp(), and itpp::Poisson_Packet_Generator::set_parameters().
double itpp::Exponential_RNG::get_setup | ( | ) | const |
get lambda
double itpp::Exponential_RNG::operator() | ( | ) | [inline] |
vec itpp::Exponential_RNG::operator() | ( | int | n | ) |
mat itpp::Exponential_RNG::operator() | ( | int | h, | |
int | w | |||
) |
Generated on Thu Apr 19 14:15:02 2007 for IT++ by Doxygen 1.5.1