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