Virtual Belgium  2.0
A micro-simulation platform for the Belgian population
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
MixtureLogNormal2D Struct Reference

Fast Random number generator for mixture of bivariate log-normal distribution (Numerical Recipes). More...

#include <Random.hpp>

Public Member Functions

 MixtureLogNormal2D (unsigned long long i)
 Constructor. More...
 
draw_2d dev (dist_param_mixture_2d distrib)
 Returns 2 draws from a bounded mixture distribution. More...
 
- Public Member Functions inherited from Normaldev
 Normaldev (unsigned long long i)
 Constructor. More...
 
float dev (double mu, double sigma)
 Returns a normal random draw with mean mu and standart deviation sigma. More...
 
float dev (double mu, double sigma, float max)
 Returns a upper bounded normal random draw. More...
 
float dev (double mu, double sigma, float min, float max)
 Returns a bounded normal random draw. More...
 
- Public Member Functions inherited from Ranfib
 Ranfib (unsigned long j)
 Constructor. More...
 
double doub ()
 Returns random double-precision floating point value in [0,1]. More...
 
float fl ()
 Returns random simple-precision floating point value in [0,1]. More...
 

Additional Inherited Members

- Public Attributes inherited from Ranfib
double dtab [55]
 part of the generator state More...
 
double dd
 part of the generator state More...
 
int inext
 part of the generator state More...
 
int inextp
 part of the generator state More...
 

Detailed Description

Fast Random number generator for mixture of bivariate log-normal distribution (Numerical Recipes).

Constructor & Destructor Documentation

MixtureLogNormal2D::MixtureLogNormal2D ( unsigned long long  i)
inline

Constructor.

Member Function Documentation

draw_2d MixtureLogNormal2D::dev ( dist_param_mixture_2d  distrib)
inline

Returns 2 draws from a bounded mixture distribution.


The documentation for this struct was generated from the following file: