gaussian_2d Class Template Reference

#include <gaussian_2d.h>


Detailed Description

template<class rng_t>
class gaussian_2d< rng_t >

Generate two random numbers from a normal distribution.

Todo:
Double check that sigma is implemented correctly

Definition at line 38 of file gaussian_2d.h.


Public Member Functions

void random (double sigma, double &x, double &y)
 Generate two numbers from a distribution with zero mean and standard deviation sigma.

Data Fields

rng_t r

The documentation for this class was generated from the following file:
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.