#include <pmmmlcg.h>
Inheritance diagram for PMMMLCG::

Public Methods | |
| PMMMLCG () | |
| virtual void | seed (uint32 s) |
| virtual void | timeSeed () |
| virtual double | getRandom () |
| virtual int | getRandom (int from, int to) |
Protected Attributes | |
| double | temp |
Static Protected Attributes | |
| long | rseed |
|
|
Definition at line 33 of file pmmmlcg.h. 00033 {temp = 1.0 / (double) __PMMMLCG_M;}
|
|
|
Reimplemented from RandomNG. |
|
|
Reimplemented from RandomNG. |
|
|
Reimplemented from RandomNG. Definition at line 35 of file pmmmlcg.h. 00035 {rseed = s;}
|
|
|
Reimplemented from RandomNG. |
|
|
|
|
|
|
1.2.6 written by Dimitri van Heesch,
© 1997-2001