|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
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++)
static yarp::sig::Matrix matrix(int r, int c, double u=0.0, double sigma=1.0)
static yarp::sig::Vector vector(int s, double u=0.0, double sigma=1.0)
static void init()
Initialize the random number generator, with current time (time(0)).
static double scalar(double u=0.0, double sigma=1.0)
void init()
Initialize the generator.
size_t length() const
Get the length of the vector.
yarp::math::RandnScalar theRandnScalar
double get(double u=0.0, double sigma=1.0)
Generate a randomly generated number, drawn from a normal distribution.
A random number generator, normal distribution.