乗算合同法

提供: ORWiki
2007年7月17日 (火) 14:13時点における122.17.2.240 (トーク)による版
ナビゲーションに移動 検索に移動

【じょうざんごうどうほう (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 \,}


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