Public Member Functions

exponential Class Reference

#include <simulator.h>

Inheritance diagram for exponential:
simulator< double >

List of all members.

Public Member Functions

 exponential (const double m=1.0)
double pdf (const double) const
double random () const
double cdf (const double) const

Detailed Description

An Exponential random number generator.


Constructor & Destructor Documentation

exponential::exponential ( const double  m = 1.0  ) 

Member Function Documentation

double exponential::cdf ( const double  y  )  const
double exponential::pdf ( const double  y  )  const
double exponential::random (  )  const [virtual]

Implements simulator< double >.


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