IT++ Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
itpp::Laplace_RNG Class Reference

Laplacian distribution. More...

#include <itpp/base/random.h>

Public Member Functions

 Laplace_RNG (double meanval=0.0, double variance=1.0)
 Constructor. Set mean and variance.
void setup (double meanval, double variance)
 Set mean and variance.
void get_setup (double &meanval, double &variance) const
 Get mean and variance.
double operator() ()
 Get one sample.
vec operator() (int n)
 Get a sample vector.
mat operator() (int h, int w)
 Get a sample matrix.
double sample ()
 Returns a single sample.

Detailed Description

Laplacian distribution.

Definition at line 343 of file random.h.


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

Generated on Fri Mar 21 2014 17:14:15 for IT++ by Doxygen 1.8.1.2