uniform distribution over a specified floating-point range More...
#include <rutz/rand.h>
Public Member Functions | |
urand_frange (double lo, double hi, long s=0) | |
Construct with a given min/max range and an initial seed (default 0). | |
urand_frange (long s=0) | |
Construct with a range [0.0:1.0[ and an initial seed (default 0). | |
double | draw () |
double | operator() () |
uniform distribution over a specified floating-point range
Definition at line 132 of file rand.h.
rutz::urand_frange::urand_frange | ( | double | lo, | |
double | hi, | |||
long | s = 0 | |||
) | [inline] |
rutz::urand_frange::urand_frange | ( | long | s = 0 |
) | [inline] |