乗算合同法

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

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


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