10 #ifndef YARP_MATH_RAND_H
11 #define YARP_MATH_RAND_H
58 static double scalar(
double min,
double max);
102 static void init(
int seed);
contains the definition of a Matrix type
contains the definition of a Vector type
A static class grouping function for uniform random number generator.
static yarp::sig::Vector vector(int s)
Get a vector of random numbers from a uniform distribution, values are in the range [0,...
static void init()
Initialize the random number generator, with current time (time(0)).
static double scalar()
Get a random number from a uniform distribution in the range [0,1].
static yarp::sig::Matrix matrix(int r, int c)
Get a vector of random numbers from a uniform distribution, values are in the range [0,...
The main, catch-all namespace for YARP.