IT++ Logo Newcom Logo

itpp::Rice_RNG Class Reference
[Random Number Generation]

Rice distribution. More...

#include <itpp/base/random.h>

List of all members.

Public Member Functions

 Rice_RNG (double sigma=1.0, double _s=1.0)
 Constructor. Set sigma, and s.
void setup (double sigma, double _s)
 Set sigma, and s.
void get_setup (double &sigma, double &_s)
 Get parameters.
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

Rice distribution.

Definition at line 657 of file random.h.


Constructor & Destructor Documentation

itpp::Rice_RNG::Rice_RNG ( double  sigma = 1.0,
double  _s = 1.0 
)

Constructor. Set sigma, and s.

Definition at line 439 of file random.cpp.

References setup().


Member Function Documentation

void itpp::Rice_RNG::setup ( double  sigma,
double  _s 
) [inline]

Set sigma, and s.

Definition at line 662 of file random.h.

Referenced by itpp::randrice(), and Rice_RNG().

void itpp::Rice_RNG::get_setup ( double &  sigma,
double &  _s 
) [inline]

Get parameters.

Definition at line 664 of file random.h.

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

Get one sample.

Definition at line 666 of file random.h.

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

Get a sample vector.

Definition at line 444 of file random.cpp.

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

Get a sample matrix.

Definition at line 454 of file random.cpp.


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

Generated on Wed Apr 18 11:20:03 2007 for IT++ by Doxygen 1.5.2