|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
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);
105 #endif // YARP_MATH_RAND_H
A static class grouping function for uniform random number generator.
contains the definition of a Vector type
contains the definition of a Matrix type
static double scalar()
Get a random number from a uniform distribution in the range [0,1].
static yarp::sig::Vector vector(int s)
Get a vector of random numbers from a uniform distribution, values are in the range [0,...
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.
static void init()
Initialize the random number generator, with current time (time(0)).