「乗算合同法」の版間の差分
ナビゲーションに移動
検索に移動
| 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つ. 漸化式
構文解析に失敗 (MathML、ただし動作しない場合はSVGかPNGで代替(最新ブラウザーや補助ツールに推奨): サーバー「https://en.wikipedia.org/api/rest_v1/」から無効な応答 ("Math extension cannot connect to Restbase."):): {\displaystyle X_n=aX_{n-1} \quad (\mathrm{mod} \ m), \quad n=1, 2, \cdots \,}
を使って, 集合構文解析に失敗 (MathML、ただし動作しない場合はSVGかPNGで代替(最新ブラウザーや補助ツールに推奨): サーバー「https://en.wikipedia.org/api/rest_v1/」から無効な応答 ("Math extension cannot connect to Restbase."):): {\displaystyle \{1,2,\cdots,m-1\}\,}
上の乱数構文解析に失敗 (MathML、ただし動作しない場合はSVGかPNGで代替(最新ブラウザーや補助ツールに推奨): サーバー「https://en.wikipedia.org/api/rest_v1/」から無効な応答 ("Math extension cannot connect to Restbase."):): {\displaystyle \{X_n\}\,}
を作る.