CYCLUS
Loading...
Searching...
No Matches
cyclus::NormalIntDist Class Reference

Detailed Description

Definition at line 166 of file random_number_generator.h.

#include <random_number_generator.h>

Inheritance diagram for cyclus::NormalIntDist:
cyclus::IntDistribution

Public Types

typedef boost::shared_ptr< NormalIntDistPtr
 
- Public Types inherited from cyclus::IntDistribution
typedef boost::shared_ptr< IntDistributionPtr
 

Public Member Functions

virtual int max ()
 
 NormalIntDist (double mean, double std_dev, int min=0, int max=1)
 
virtual int sample ()
 

Member Typedef Documentation

◆ Ptr

Definition at line 172 of file random_number_generator.h.

Constructor & Destructor Documentation

◆ NormalIntDist()

cyclus::NormalIntDist::NormalIntDist ( double mean,
double std_dev,
int min = 0,
int max = 1 )
inline

Definition at line 174 of file random_number_generator.h.

Member Function Documentation

◆ max()

virtual int cyclus::NormalIntDist::max ( )
inlinevirtual

Definition at line 183 of file random_number_generator.h.

◆ sample()

int cyclus::NormalIntDist::sample ( )
virtual

Implements cyclus::IntDistribution.

Definition at line 73 of file random_number_generator.cc.


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