#include "arts.h"
#include "rng.h"
#include "matpackI.h"
#include <cmath>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | MCAntenna |
An Antenna object used by MCGeneral. More... | |
Enumerations | |
enum | AType { ATYPE_PENCIL_BEAM = 1, ATYPE_GAUSSIAN = 2, ATYPE_LOOKUP = 3 } |
Functions | |
ostream & | operator<< (ostream &os, const MCAntenna &mca) |
Numeric | ran_gaussian (Rng &rng, const Numeric sigma) |
ran_gaussian |
Definition in file mc_antenna.h.
enum AType |
Definition at line 47 of file mc_antenna.h.
ostream& operator<< | ( | ostream & | os, | |
const MCAntenna & | mca | |||
) |
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().