A class to generate random vectors, normal distribution. More...
#include <yarp/math/RandnVector.h>
Public Member Functions | |
RandnVector (int s) | |
void | resize (int s) |
void | init () |
void | init (int seed) |
const yarp::sig::Vector & | get (const yarp::sig::Vector &u, const yarp::sig::Vector &sigma) |
const yarp::sig::Vector & | get (double u=0.0, double sigma=1.0) |
A class to generate random vectors, normal distribution.
Internally uses the RandnScalar class.
Definition at line 29 of file RandnVector.h.
RandnVector::RandnVector | ( | int | s | ) |
Definition at line 17 of file RandnVector.cpp.
const Vector & RandnVector::get | ( | const yarp::sig::Vector & | u, |
const yarp::sig::Vector & | sigma | ||
) |
Definition at line 47 of file RandnVector.cpp.
const Vector & RandnVector::get | ( | double | u = 0.0 , |
double | sigma = 1.0 |
||
) |
Definition at line 37 of file RandnVector.cpp.
void RandnVector::init | ( | ) |
Definition at line 27 of file RandnVector.cpp.
void RandnVector::init | ( | int | seed | ) |
Definition at line 32 of file RandnVector.cpp.
void RandnVector::resize | ( | int | s | ) |
Definition at line 22 of file RandnVector.cpp.