ARTS  2.0.49
mc_antenna.cc File Reference

Monte Carlo Antenna implementation. More...

#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 More...
 
ostream & operator<< (ostream &os, const MCAntenna &)
 

Detailed Description

Monte Carlo Antenna implementation.

Author
Cory Davis cdavi.nosp@m.s@st.nosp@m.affma.nosp@m.il.e.nosp@m.d.ac..nosp@m.uk
Date
2005-12-01

Definition in file mc_antenna.cc.

Function Documentation

◆ operator<<()

ostream& operator<< ( ostream &  os,
const MCAntenna  
)

Definition at line 198 of file mc_antenna.cc.

◆ ran_gaussian()

Numeric ran_gaussian ( Rng rng,
const Numeric  sigma 
)

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

Parameters
rngRng random number generator instance
sigmastandrade deviation paramter for gaussian distribution

Returns the gaussian random deviate.

Author
Cory Davis
Date
2003-12-01

Definition at line 65 of file mc_antenna.cc.

References Rng::draw().

Referenced by MCAntenna::draw_los().