Version: 8.3.0
NormalePositif Class Reference

#include <aleas.hxx>

Inheritance diagram for NormalePositif:
Collaboration diagram for NormalePositif:

Public Member Functions

 NormalePositif (long s)
 
virtual double tire (void)
 
- Public Member Functions inherited from Aleatoire
 Aleatoire (long)
 
virtual std::vector< double > * gen (void)
 
virtual void fill (std::vector< double > &)
 

Additional Inherited Members

- Protected Attributes inherited from Aleatoire
long size
 

Detailed Description

Definition at line 49 of file aleas.hxx.

Constructor & Destructor Documentation

NormalePositif::NormalePositif ( long  s)
inline

Definition at line 51 of file aleas.hxx.

51 : Aleatoire(s) {};

Member Function Documentation

double NormalePositif::tire ( void  )
virtual

Implements Aleatoire.

Definition at line 127 of file aleas.cxx.

References randGauss().

128 {
129  return randGauss() * 0.25 + 0.5 ;
130 }

The documentation for this class was generated from the following files: