Public Member Functions | |
ThreadSafeRandScalar () | |
void | init () |
void | init (int s) |
double | get (double min=0.0, double max=1.0) |
Public Member Functions inherited from yarp::math::RandScalar | |
RandScalar (int seed) | |
RandScalar () | |
~RandScalar () | |
void | init () |
Initialize the random generator using current time (time(0)). More... | |
void | init (int seed) |
Initialize the random generator. More... | |
int | getSeed () |
Get the seed. More... | |
double | get () |
Generate a random number from a uniform distribution. More... | |
double | get (double min, double max) |
Generate a random number from a uniform distribution within [min, max]. More... | |
|
inline |