IT++ Logo Newcom Logo

itpp::Rayleigh_RNG Class Reference
[Random Number Generation]

Rayleigh distribution. More...

#include <itpp/base/random.h>

List of all members.

Public Member Functions

 Rayleigh_RNG (double sigma=1.0)
 Constructor. Set sigma.
void setup (double sigma)
 Set sigma.
double get_setup ()
 Get sigma.
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

Rayleigh distribution.

Definition at line 628 of file random.h.


Constructor & Destructor Documentation

itpp::Rayleigh_RNG::Rayleigh_RNG double  sigma = 1.0  ) 
 

Constructor. Set sigma.

Definition at line 408 of file random.cpp.

References setup().


Member Function Documentation

void itpp::Rayleigh_RNG::setup double  sigma  )  [inline]
 

Set sigma.

Definition at line 634 of file random.h.

Referenced by itpp::randray(), and Rayleigh_RNG().

double itpp::Rayleigh_RNG::get_setup  )  [inline]
 

Get sigma.

Definition at line 636 of file random.h.

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

Get one sample.

Definition at line 638 of file random.h.

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

Get a sample vector.

Definition at line 413 of file random.cpp.

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

Get a sample matrix.

Definition at line 423 of file random.cpp.


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

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