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

Detailed Description

Exponential distribution requires lambda.

Definition at line 315 of file random_number_generator.h.

#include <random_number_generator.h>

Inheritance diagram for cyclus::ExponentialIntDist:
cyclus::IntDistribution

Public Types

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

Public Member Functions

 ExponentialIntDist (double lambda)
 
virtual double lambda ()
 
virtual int sample ()
 

Member Typedef Documentation

◆ Ptr

Definition at line 320 of file random_number_generator.h.

Constructor & Destructor Documentation

◆ ExponentialIntDist()

cyclus::ExponentialIntDist::ExponentialIntDist ( double lambda)
inline

Definition at line 322 of file random_number_generator.h.

Member Function Documentation

◆ lambda()

virtual double cyclus::ExponentialIntDist::lambda ( )
inlinevirtual

Definition at line 328 of file random_number_generator.h.

◆ sample()

virtual int cyclus::ExponentialIntDist::sample ( )
inlinevirtual

Implements cyclus::IntDistribution.

Definition at line 327 of file random_number_generator.h.


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