Public Member Functions | List of all members

#include <tjnumeric.h>

Public Member Functions

double gaussian (double stdev) const
 
double uniform () const
 

Detailed Description

Calculate random number distributions, the generator is seeded once upon construction using the system time.

Definition at line 43 of file tjnumeric.h.

Member Function Documentation

§ gaussian()

double RandomDist::gaussian ( double  stdev) const

Calculate Gaussian distribution with given standard deviation, uses GSL random number generator

§ uniform()

double RandomDist::uniform ( ) const

Calculate uniformly distributed random number in range [0,1), uses GSL random number generator


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