「乗算合同法」の版間の差分

提供: ORWiki
ナビゲーションに移動 検索に移動
6行目: 6行目:
 
<center>
 
<center>
 
<math>
 
<math>
X_n=aX_{n-1}(\mathrm{mod} \  m), \quad
+
X_n=aX_{n-1} \quad (\mathrm{mod} \  m), \quad
 
n=1, 2, \cdots
 
n=1, 2, \cdots
 
\,</math>
 
\,</math>

2007年7月17日 (火) 14:13時点における版

【じょうざんごうどうほう (multiplicative congruential method)】

一様乱数を作る方法の1つ. 漸化式


構文解析に失敗 (Conversion error. Server ("https://en.wikipedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle X_{n}=aX_{n-1}\quad (\mathrm {mod} \ m),\quad n=1,2,\cdots \,}


を使って, 集合上の乱数を作る.