IT++ Logo Newcom Logo

itpp::Exponential_RNG Class Reference
[Random Number Generation]

Exponential distribution. More...

#include <itpp/base/random.h>

List of all members.

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.


Detailed Description

Exponential distribution.

Definition at line 376 of file random.h.


Constructor & Destructor Documentation

itpp::Exponential_RNG::Exponential_RNG double  lambda = 1.0  ) 
 

constructor. Set lambda.

Definition at line 224 of file random.cpp.

References setup().


Member Function Documentation

void itpp::Exponential_RNG::setup double  lambda  )  [inline]
 

Set lambda.

Definition at line 381 of file random.h.

Referenced by Exponential_RNG().

double itpp::Exponential_RNG::get_setup  )  const
 

get lambda

double itpp::Exponential_RNG::operator()  )  [inline]
 

Get one sample.

Definition at line 385 of file random.h.

vec itpp::Exponential_RNG::operator() int  n  ) 
 

Get a sample vector.

Definition at line 229 of file random.cpp.

mat itpp::Exponential_RNG::operator() int  h,
int  w
 

Get a sample matrix.

Definition at line 239 of file random.cpp.


The documentation for this class was generated from the following files:
SourceForge Logo

Generated on Fri Jan 11 08:51:42 2008 for IT++ by Doxygen 1.3.9.1