Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
icl::utils::GRandClip Class Reference

lightweight Random generator class for gaussian distributed numbers clipped to a given range More...

#include <Random.h>

List of all members.

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

Detailed Description

lightweight Random generator class for gaussian distributed numbers clipped to a given range

See also:
URand

Constructor & Destructor Documentation

icl::utils::GRandClip::GRandClip ( icl64f  mean,
icl64f  var,
const Range64f &  range 
) [inline]

Create with optionally given mean and variance.


Member Function Documentation

icl::utils::GRandClip::operator icl64f ( ) const [inline]

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


Member Data Documentation

Range64f icl::utils::GRandClip::range [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines