|
| RNG () |
|
| RNG (uint64 state) |
|
unsigned | next () |
| updates the state and returns the next 32-bit unsigned integer random number More...
|
|
| operator uchar () |
|
| operator schar () |
|
| operator ushort () |
|
| operator short () |
|
| operator unsigned () |
|
unsigned | operator() (unsigned N) |
| returns a random integer sampled uniformly from [0, N). More...
|
|
unsigned | operator() () |
|
| operator int () |
|
| operator float () |
|
| operator double () |
|
int | uniform (int a, int b) |
| returns uniformly distributed integer random number from [a,b) range More...
|
|
float | uniform (float a, float b) |
| returns uniformly distributed floating-point random number from [a,b) range More...
|
|
double | uniform (double a, double b) |
| returns uniformly distributed double-precision floating-point random number from [a,b) range More...
|
|
void | fill (InputOutputArray mat, int distType, InputArray a, InputArray b, bool saturateRange=false) |
|
double | gaussian (double sigma) |
| returns Gaussian random variate with mean zero. More...
|
|
Random Number Generator
The class implements RNG using Multiply-with-Carry algorithm