Random number generator for returning normally distributed values. More...
#include <random.hpp>
Public Member Functions | |
normal_random_numbers (NumericT mean=NumericT(0), NumericT sigma=NumericT(1)) | |
NumericT | operator() () const |
Random number generator for returning normally distributed values.
Implementation based on Box-Muller transformation: https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform
Definition at line 57 of file random.hpp.
|
inline |
Definition at line 60 of file random.hpp.
|
inline |
Definition at line 62 of file random.hpp.