OpenCV453
公開メンバ関数 | 全メンバ一覧
cv::RNG_MT19937 クラス

Mersenne Twister random number generator [詳解]

#include <core.hpp>

公開メンバ関数

 RNG_MT19937 (unsigned s)
 
void seed (unsigned s)
 
unsigned next ()
 
 operator int ()
 
 operator unsigned ()
 
 operator float ()
 
 operator double ()
 
unsigned operator() (unsigned N)
 
unsigned operator() ()
 
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
 

詳解

Mersenne Twister random number generator

Inspired by http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/mt19937ar.c

todo:
document

このクラス詳解は次のファイルから抽出されました: