Inherited by Erlang, Negexp, Normal, Rconst, and Uniform.
Rdist declares the 'double sample()' method for continuous distribution classes. All derived classes implement this method to provide the random numbers in different distributions.
Public Member Functions | |
Rdist (DistContext *c, Label title) | |
Construction. | |
virtual | ~Rdist () |
Destruction. | |
virtual double | sample ()=0 |
Get next random number. |
|
Construction.
|
|
Get next random number. This function returns the next random number. It is implemented in derived classes which generate random numbers in different distributions. |