TF++, Miscellaneous classes and modules in C++:

◆ value()

double tfxx::numeric::RNGgaussian::value ( ) const

returns a random number

Definition at line 92 of file rng.cc.

References Mmean, MR, and Mstd.

Referenced by operator()().

93  { return(Mmean+Mstd*gsl_ran_ugaussian(MR)); }
double Mstd
store standard deviation and mean value
Definition: rng.h:107
gsl_rng * MR
pointer to RNG
Definition: rng.h:109
Here is the caller graph for this function: