mc_antenna.cc File Reference

Monte Carlo Antenna implementation. More...

#include "mc_antenna.h"
#include "sstream.h"

Include dependency graph for mc_antenna.cc:

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 &)


Detailed Description

Monte Carlo Antenna implementation.

Author:
Cory Davis <cdavis@staffmail.ed.ac.uk>
Date:
2005-12-01

Definition in file mc_antenna.cc.


Function Documentation

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

Definition at line 198 of file mc_antenna.cc.

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:
rng Rng random number generator instance
sigma standrade 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().


Generated on Mon Mar 23 14:06:45 2009 for ARTS by  doxygen 1.5.6