Static Interface | |
| static void | setSeed (long int seed) |
| static Real | flatReal () |
| static Real | flatReal (Real min, Real max) |
| static RealVec & | flatRealVec (RealVec &vec, Real min, Real max) |
| static RealMat & | flatRealMat (RealMat &mat, Real min, Real max) |
| static bool | boolean (Real trueProb) |
| static bool | boolean () |
| static u_int | flatInt (u_int x) |
| static int | flatInt (int x, int y) |
| static Real | gauss (Real mean, Real stdev) |
| static void setSeed | ( | long int | seed | ) | [static] |
Set the seed of the random number generator
| static Real flatReal | ( | ) | [static] |
Return a real number in [0;1)
Return a RealVec with all the values randomized in the range [min,max)
Return a RealMat with all the values randomized in the range [min,max)
| static bool boolean | ( | Real | trueProb | ) | [static] |
Return a random boolean value; True value appear with probability specified as paramater
| static bool boolean | ( | ) | [static] |
Return a random boolean value; True and False values are the same probability
| static int flatInt | ( | int | x, | |
| int | y | |||
| ) | [static] |
Return a random integer value in between x and y-1
Return a random real value with a gaussian distribution