eosim::dist::NegexpDist             EoSimulator Programmer's Manual

 

NAME

      NegexpDist: Negative Exponential Distribution

 

SYNOPSIS

      #include <eosim/dist/negexpdist.hpp>

 

      namespace eosim {

      namespace dist {

 

class NegexpDist: public Distribution {

public:

NegexpDist (GenType gen_, double m_);

~NegexpDist ();

double sample ();

};

 

      }

      }

 

DESCRIPTION

This class sample values from a negative exponential distribution.

 

CLASS OPERATIONS

NegexpDist (GenType gen_, double m_):

      The constructor creates a NegexpDist with parameter m_ and whose generator’s type is gen_.

     

~NegexpDist ():

      The destructor of NegexpDist.

     

double sample ():

            This operation samples a value using the inverse transform method.

 

 

SEE ALSO

eosim::dist::Distribution

eosim::dist::NumberGenerator