A class to generate random vectors, uniform distribution. More...
#include <yarp/math/RandVector.h>
Public Member Functions | |
RandVector (int s) | |
void | resize (int s) |
void | init () |
void | init (int seed) |
const yarp::sig::Vector & | get () |
const yarp::sig::Vector & | get (const yarp::sig::Vector &min, const yarp::sig::Vector &max) |
A class to generate random vectors, uniform distribution.
Internally uses the RandScalar class.
Definition at line 29 of file RandVector.h.
RandVector::RandVector | ( | int | s | ) |
Definition at line 17 of file RandVector.cpp.
const Vector & RandVector::get | ( | ) |
Definition at line 37 of file RandVector.cpp.
const Vector & RandVector::get | ( | const yarp::sig::Vector & | min, |
const yarp::sig::Vector & | max | ||
) |
Definition at line 47 of file RandVector.cpp.
void RandVector::init | ( | ) |
Definition at line 27 of file RandVector.cpp.
void RandVector::init | ( | int | seed | ) |
Definition at line 32 of file RandVector.cpp.
void RandVector::resize | ( | int | s | ) |
Definition at line 22 of file RandVector.cpp.