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)). | |
void | init (int seed) |
Initialize the random generator. | |
int | getSeed () |
Get the seed. | |
double | get () |
Generate a random number from a uniform distribution. | |
double | get (double min, double max) |
Generate a random number from a uniform distribution within [min, max]. | |