Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MODEL::Normal Class Reference

#include <random.h>

Collaboration diagram for MODEL::Normal:

Collaboration graph
[legend]
List of all members.

Public Methods

 Normal (counter seed=0)
virtual ~Normal ()
virtual number& generate (number &storage)
number operator() (void)

Private Attributes

Uniform* rnd
bool regenerate2
number saved

Detailed Description

Gaussian (normal) distribution with stddev of 1. This is not derived off Uniform, as it does not return numbers between 0 and 1

Definition at line 81 of file random.h.


The documentation for this class was generated from the following files:
To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.

More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be

Last update: June 2002.


Looking for Open Source? Check out SourceForge Logo !