#include "mc_antenna.h"
#include "sstream.h"
Go to the source code of this file.
Functions | |
Numeric | ran_gaussian (Rng &rng, const Numeric sigma) |
ran_gaussian | |
ostream & | operator<< (ostream &os, const MCAntenna &) |
Definition in file mc_antenna.cc.
ostream& operator<< | ( | ostream & | os, | |
const MCAntenna & | ||||
) |
Definition at line 198 of file mc_antenna.cc.
ran_gaussian
Draw a random normal (Gaussian) deviate. This has been copied with minor changes from the GSL function gsl_ran_gaussian. Polar (Box-Mueller) method; See Knuth v2, 3rd ed, p122
rng | Rng random number generator instance | |
sigma | standrade deviation paramter for gaussian distribution |
Definition at line 65 of file mc_antenna.cc.
References Rng::draw().
Referenced by MCAntenna::draw_los().