#include <Random.hh>
Inheritance diagram for RazorBack::Randomuni_:


Public Methods | |
| Randomuni_ (int S1=0, int S2=0) | |
| Init with the seeds S1, S2. More... | |
| double | operator() (void) const |
| operator(): returns a random double value between 0.0 and 1.0. | |
| double | rnd_lim (double L, double U) const |
| rnd_lim(L, U): returns a random double between L and U. No checks. | |
Definition at line 67 of file Random.hh.
|
|
Init with the seeds S1, S2. If S1==0 (default), then getpid() is used as seed. If S2==0 (default), then time(NULL) is used as seed. |
|
|
operator(): returns a random double value between 0.0 and 1.0.
Reimplemented from RazorBack::Randombase_. |
|
|
rnd_lim(L, U): returns a random double between L and U. No checks.
|
1.2.6 written by Dimitri van Heesch,
© 1997-2001