IT++ Logo Newcom Logo

itpp::Weibull_RNG Class Reference
[Random Number Generation]

Weibull distribution. More...

#include <itpp/base/random.h>

List of all members.

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.


Detailed Description

Weibull distribution.

Definition at line 597 of file random.h.


Constructor & Destructor Documentation

itpp::Weibull_RNG::Weibull_RNG double  lambda = 1.0,
double  beta = 1.0
 

Constructor. Set lambda and beta.

Definition at line 368 of file random.cpp.

References setup().


Member Function Documentation

void itpp::Weibull_RNG::setup double  lambda,
double  beta
 

Set lambda, and beta.

Definition at line 373 of file random.cpp.

References itpp::gamma().

Referenced by Weibull_RNG().

void itpp::Weibull_RNG::get_setup double &  lambda,
double &  beta
[inline]
 

Get lambda and beta.

Definition at line 605 of file random.h.

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

Get one sample.

Definition at line 607 of file random.h.

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

Get a sample vector.

Definition at line 382 of file random.cpp.

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

Get a sample matrix.

Definition at line 392 of file random.cpp.


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

Generated on Thu Apr 19 14:20:41 2007 for IT++ by Doxygen 1.4.6