All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
osl::normal_distribution Class Reference
Inheritance diagram for osl::normal_distribution:
Inheritance graph
[legend]
Collaboration diagram for osl::normal_distribution:
Collaboration graph
[legend]

Public Member Functions

 normal_distribution (const double &mean_arg=double(0), const double &sigma_arg=double(1))
 
double mean () const
 
double sigma () const
 
void reset ()
 
template<class Engine >
double operator() (Engine &eng)
 

Private Attributes

double _mean
 
double _sigma
 
double _r1
 
double _r2
 
double _cached_rho
 
bool _valid
 

Detailed Description

Definition at line 34 of file hashRandom.cc.

Constructor & Destructor Documentation

osl::normal_distribution::normal_distribution ( const double &  mean_arg = double(0),
const double &  sigma_arg = double(1) 
)
inlineexplicit

Definition at line 37 of file hashRandom.cc.

References _sigma.

Member Function Documentation

double osl::normal_distribution::mean ( ) const
inline

Definition at line 45 of file hashRandom.cc.

References _mean.

template<class Engine >
double osl::normal_distribution::operator() ( Engine &  eng)
inline

Definition at line 49 of file hashRandom.cc.

References _cached_rho, _mean, _r1, _r2, _sigma, and _valid.

void osl::normal_distribution::reset ( )
inline

Definition at line 47 of file hashRandom.cc.

References _valid.

double osl::normal_distribution::sigma ( ) const
inline

Definition at line 46 of file hashRandom.cc.

References _sigma.

Member Data Documentation

double osl::normal_distribution::_cached_rho
private

Definition at line 67 of file hashRandom.cc.

Referenced by operator()().

double osl::normal_distribution::_mean
private

Definition at line 66 of file hashRandom.cc.

Referenced by mean(), and operator()().

double osl::normal_distribution::_r1
private

Definition at line 67 of file hashRandom.cc.

Referenced by operator()().

double osl::normal_distribution::_r2
private

Definition at line 67 of file hashRandom.cc.

Referenced by operator()().

double osl::normal_distribution::_sigma
private

Definition at line 66 of file hashRandom.cc.

Referenced by normal_distribution(), operator()(), and sigma().

bool osl::normal_distribution::_valid
private

Definition at line 68 of file hashRandom.cc.

Referenced by operator()(), and reset().


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