Image Component Library (ICL)
|
lightweight Random generator class for gaussian distributed numbers More...
#include <Random.h>
Public Member Functions | |
GRand (icl64f mean=0, icl64f var=1.0) | |
Create with optionally given mean and variance. | |
operator icl64f () const | |
returns gaussRandom(this->mean,this->var) | |
Private Attributes | |
icl64f | mean |
icl64f | var |
lightweight Random generator class for gaussian distributed numbers
icl::utils::GRand::GRand | ( | icl64f | mean = 0 , |
icl64f | var = 1.0 |
||
) | [inline] |
Create with optionally given mean and variance.
icl::utils::GRand::operator icl64f | ( | ) | const [inline] |
returns gaussRandom(this->mean,this->var)
icl64f icl::utils::GRand::mean [private] |
icl64f icl::utils::GRand::var [private] |