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. | |
Generated on Sat Jul 6 2013 10:54:31 for IT++ by Doxygen 1.8.2