Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

phrand.h File Reference

Defines functions and classes to dice random variables with different probability functions. More...

#include <iostream>
#include <vector>
#include <stdexcept>
#include <gsl/gsl_rng.h>
#include <simthetic/misc.h>

Go to the source code of this file.

Namespaces

namespace  simth

Functions

double gsl_ran_gaussian (const gsl_rng *, double)
double gsl_ran_rayleigh (const gsl_rng *, double)


Detailed Description

Defines functions and classes to dice random variables with different probability functions.

This section contains random variables which are based on the general random base class of the GNU scientific library (GSL). All GSL random number generators are seeded by calls to the system's rand() call, which in turn can be seeded by the user through srand() (it is not seeded by these classes, thus by default it is seeded with the value 1.)


Function Documentation

double gsl_ran_gaussian const gsl_rng *  ,
double 
 

double gsl_ran_rayleigh const gsl_rng *  ,
double 
 


Generated on Mon Apr 24 21:19:19 2006 for simthetic by  doxygen 1.4.1