#include <phrand.h>
Inheritance diagram for simth::JakesRng:

| Public Member Functions | |
| JakesRng (double df_max) | |
| virtual double | get () const | 
| double | get_inl () const | 
| double | maxDoppler () const | 
This class returns a random variate which is distributed according to a Jakes distribution for a maximum doppler frequence  . This means the symmetric distribution is upper and lower bounded by the value
. This means the symmetric distribution is upper and lower bounded by the value  which we call T for simplicity. The distribution of the random variate as returned by get() is
 which we call T for simplicity. The distribution of the random variate as returned by get() is
![\[ p(x) = \left\{ \begin{array}{cl} \frac{1}{\pi}\frac{1/T}{\sqrt{1-(x/T)^2}} & \mbox{for } |x|\leq T \\ 0 & \mbox{elsewhere} \end{array} \right. \]](form_20.png) 
This distribution has a mean value of zero and a variance  of
 of
![\[ \sigma_j^2=\frac{T^2}{2} \]](form_22.png) 
A random variable with this distribution results if one takes the cosine or sine of a uniformly-![$[-\pi,\pi]$](form_23.png) distributed random variable.
 distributed random variable. 
| 
 | 
| Class constructor with maximal doppler frequency as arguments. 
 
 | 
| 
 | 
| Returns a random variate from the Jakes distribution. Implements simth::RandomGenerator. | 
| 
 | 
| Inline version of get(). | 
| 
 | 
| Returns the maximal doppler frequency. | 
 1.4.1
 1.4.1