RNG_MT19937 2759 modules/core/include/opencv2/core.hpp RNG_MT19937(); RNG_MT19937 2760 modules/core/include/opencv2/core.hpp RNG_MT19937(unsigned s); RNG_MT19937 882 modules/core/src/rand.cpp cv::RNG_MT19937::RNG_MT19937(unsigned s) { seed(s); } RNG_MT19937 884 modules/core/src/rand.cpp cv::RNG_MT19937::RNG_MT19937() { seed(5489U); } RNG_MT19937 886 modules/core/src/rand.cpp void cv::RNG_MT19937::seed(unsigned s) RNG_MT19937 896 modules/core/src/rand.cpp unsigned cv::RNG_MT19937::next() RNG_MT19937 938 modules/core/src/rand.cpp cv::RNG_MT19937::operator unsigned() { return next(); } RNG_MT19937 940 modules/core/src/rand.cpp cv::RNG_MT19937::operator int() { return (int)next();} RNG_MT19937 942 modules/core/src/rand.cpp cv::RNG_MT19937::operator float() { return next() * (1.f / 4294967296.f); } RNG_MT19937 944 modules/core/src/rand.cpp cv::RNG_MT19937::operator double() RNG_MT19937 951 modules/core/src/rand.cpp int cv::RNG_MT19937::uniform(int a, int b) { return (int)(next() % (b - a) + a); } RNG_MT19937 953 modules/core/src/rand.cpp float cv::RNG_MT19937::uniform(float a, float b) { return ((float)*this)*(b - a) + a; } RNG_MT19937 955 modules/core/src/rand.cpp double cv::RNG_MT19937::uniform(double a, double b) { return ((double)*this)*(b - a) + a; } RNG_MT19937 957 modules/core/src/rand.cpp unsigned cv::RNG_MT19937::operator ()(unsigned b) { return next() % b; } RNG_MT19937 959 modules/core/src/rand.cpp unsigned cv::RNG_MT19937::operator ()() { return next(); } RNG_MT19937 345 modules/core/test/test_rand.cpp cv::RNG_MT19937 rng;