48 double get(
double min=0.0,
double max=1.0)
92 size_t s = min.
size();
94 for(
size_t k=0;
k<s;
k++)
105 for (
int r = 0; r < rows; r++) {
106 for(
int c=0;
c<cols;
c++)
ThreadSafeRandScalar theRandScalar
double get(double min=0.0, double max=1.0)
A random number generator, uniform in the range 0-1.
void init()
Initialize the random generator using current time (time(0)).
double get()
Generate a random number from a uniform distribution.
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,...
A mini-server for performing network communication in the background.
An interface to the operating system, including Port based communication.