Image Component Library (ICL)
Public Member Functions | Private Attributes | List of all members
icl::utils::GRand Class Reference

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. More...
 
 operator icl64f () const
 returns gaussRandom(this->mean,this->var) More...
 

Private Attributes

icl64f mean
 
icl64f var
 

Detailed Description

lightweight Random generator class for gaussian distributed numbers

See also
URand

Constructor & Destructor Documentation

◆ GRand()

icl::utils::GRand::GRand ( icl64f  mean = 0,
icl64f  var = 1.0 
)
inline

Create with optionally given mean and variance.

Member Function Documentation

◆ operator icl64f()

icl::utils::GRand::operator icl64f ( ) const
inline

returns gaussRandom(this->mean,this->var)

Member Data Documentation

◆ mean

icl64f icl::utils::GRand::mean
private

◆ var

icl64f icl::utils::GRand::var
private

The documentation for this class was generated from the following file: