Marmote Core
The project aims at realizing the prototype of a software environment dedicated to modeling with Markov chains.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Namespaces | Functions
alea.h File Reference

Header file of the random library. More...

#include <unistd.h>
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  std
 Utilization of the Standard Template Library.
 

Functions

void init_generator ()
 Initialization of (pseudo) random generator. More...
 
double uniform ()
 Uniform law on [0;1]. More...
 

Detailed Description

Header file of the random library.

Author
- Flore.nosp@m.nt.M.nosp@m.orata.nosp@m.@ima.nosp@m.g.fr

Function Documentation

void init_generator ( )

Initialization of (pseudo) random generator.

double uniform ( )
inline

Uniform law on [0;1].

Returns
A double value between zero and one.