Opencv 3.1 project on GR-PEACH board
Fork of gr-peach-opencv-project by
RNG_MT19937 Class Reference
[Operations on arrays]
Mersenne Twister random number generator. More...
#include <core.hpp>
Public Member Functions | |
int | uniform (int a, int b) |
returns uniformly distributed integer random number from [a,b) range | |
float | uniform (float a, float b) |
returns uniformly distributed floating-point random number from [a,b) range | |
double | uniform (double a, double b) |
returns uniformly distributed double-precision floating-point random number from [a,b) range |
Detailed Description
Mersenne Twister random number generator.
Inspired by http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/mt19937ar.c
Definition at line 2798 of file core.hpp.
Member Function Documentation
int uniform | ( | int | a, |
int | b | ||
) |
double uniform | ( | double | a, |
double | b | ||
) |
Generated on Tue Jul 12 2022 15:17:38 by
![doxygen](doxygen.png)