37 for(
size_t k=0;k<u.
length();k++)
48 for(
int r=0;r<rows;r++)
49 for(
int c=0;c<cols;c++)
yarp::math::RandnScalar theRandnScalar
static void init()
Initialize the random number generator, with current time (time(0)).
static double scalar(double u=0.0, double sigma=1.0)
static yarp::sig::Vector vector(int s, double u=0.0, double sigma=1.0)
static yarp::sig::Matrix matrix(int r, int c, double u=0.0, double sigma=1.0)
A random number generator, normal distribution.
double get(double u=0.0, double sigma=1.0)
Generate a randomly generated number, drawn from a normal distribution.
void init()
Initialize the generator.
size_t length() const
Get the length of the vector.