Searched refs:mti (Results 1 – 7 of 7) sorted by relevance
100 private int mti; field in MersenneTwister146 for (mti = 1; mti < N; ++mti) { in setSeed()149 longMT = (1812433253l * (longMT ^ (longMT >> 30)) + mti) & 0xffffffffL; in setSeed()150 mt[mti]= (int) longMT; in setSeed()227 if (mti >= N) { // generate N words at one time in next()244 mti = 0; in next()247 y = mt[mti++]; in next()
263 FX_DWORD& i = pContext->mti; in FX_Random_MT_Start()276 FX_DWORD& mti = pMTC->mti; in FX_Random_MT_Generate() local278 if ((int)mti < 0 || mti >= MT_N) { in FX_Random_MT_Generate()279 if (mti > MT_N && !pMTC->bHaveSeed) { in FX_Random_MT_Generate()293 mti = 0; in FX_Random_MT_Generate()295 v = pBuf[mti++]; in FX_Random_MT_Generate()
320 mti = MT_N + 1; in _FX_MTRANDOMCONTEXT()323 FX_DWORD mti; member
889 for (mti = 1; mti < N; mti++) in seed()892 state[mti] = (1812433253U * (state[mti - 1] ^ (state[mti - 1] >> 30)) + mti); in seed()905 if (mti >= N) in next()924 mti = 0; in next()927 unsigned y = state[mti++]; in next()
2789 int mti; member in cv::RNG_MT19937
14781 mtiør6