名前空間
変種
操作

std::linear_congruential_engine<UIntType,a,c,m>::operator()

提供: cppreference.com
< cpp‎ | numeric‎ | random‎ | linear congruential engine
2018年6月18日 (月) 06:04時点におけるMilkpot (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
 
 
 
 
 
result_type operator()();
(C++11以上)

擬似乱数値を生成します。 エンジンの状態が1回進められます。

目次

[編集] 引数

(なし)

[編集] 戻り値

[min(), max()] 内の擬似乱数。

[編集] 計算量

償却定数時間。

[編集] 関連項目

エンジンの状態を指定した量だけ進めます
(パブリックメンバ関数) [edit]