cppreference.com
アカウント作成
ログイン
名前空間
ページ
議論
変種
表示
閲覧
編集
履歴
操作
std::linear_congruential_engine<UIntType,a,c,m>::
seed
提供: cppreference.com
<
cpp
|
numeric
|
random
|
linear congruential engine
[edit template]
C++
言語
標準ライブラリヘッダ
フリースタンディング処理系とホスト処理系
名前付き要件
言語サポートライブラリ
コンセプトライブラリ
(C++20)
診断ライブラリ
ユーティリティライブラリ
文字列ライブラリ
コンテナライブラリ
イテレータライブラリ
範囲ライブラリ
(C++20)
アルゴリズムライブラリ
数値演算ライブラリ
ローカライゼーションライブラリ
入出力ライブラリ
ファイルシステムライブラリ
(C++17)
正規表現ライブラリ
(C++11)
アトミック操作ライブラリ
(C++11)
スレッドサポートライブラリ
(C++11)
技術仕様書
[edit]
数値演算ライブラリ
一般的な数学関数
数学の特殊関数
(C++17)
数学定数
(C++20)
浮動小数点環境
(C++11)
複素数
数値配列
擬似乱数生成
コンパイル時有理数算術
(C++11)
数値演算アルゴリズム
gcd
(C++17)
lcm
(C++17)
補間
midpoint
(C++20)
lerp
(C++20)
汎用の数値演算
iota
(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
reduce
(C++17)
transform_reduce
(C++17)
inclusive_scan
(C++17)
exclusive_scan
(C++17)
transform_inclusive_scan
(C++17)
transform_exclusive_scan
(C++17)
ビット操作
bit_cast
(C++20)
has_single_bit
(C++20)
bit_ceil
(C++20)
bit_floor
(C++20)
bit_width
(C++20)
rotl
(C++20)
rotr
(C++20)
countl_zero
(C++20)
countl_one
(C++20)
countr_zero
(C++20)
countr_one
(C++20)
popcount
(C++20)
endian
(C++20)
[edit]
擬似乱数生成
一様ランダムビットジェネレータ
uniform_random_bit_generator
(C++20)
エンジンとエンジンアダプタ
linear_congruential_engine
(C++11)
mersenne_twister_engine
(C++11)
subtract_with_carry_engine
(C++11)
discard_block_engine
(C++11)
independent_bits_engine
(C++11)
shuffle_order_engine
(C++11)
非決定的なジェネレータ
random_device
(C++11)
分布
一様分布
uniform_int_distribution
(C++11)
uniform_real_distribution
(C++11)
generate_canonical
(C++11)
ベルヌーイ分布
bernoulli_distribution
(C++11)
binomial_distribution
(C++11)
negative_binomial_distribution
(C++11)
geometric_distribution
(C++11)
ポアソン分布
poisson_distribution
(C++11)
exponential_distribution
(C++11)
gamma_distribution
(C++11)
weibull_distribution
(C++11)
extreme_value_distribution
(C++11)
正規分布
normal_distribution
(C++11)
lognormal_distribution
(C++11)
chi_squared_distribution
(C++11)
cauchy_distribution
(C++11)
fisher_f_distribution
(C++11)
student_t_distribution
(C++11)
標本分布
discrete_distribution
(C++11)
piecewise_constant_distribution
(C++11)
piecewise_linear_distribution
(C++11)
シードシーケンス
seed_seq
(C++11)
C のライブラリ
rand
srand
RAND_MAX
[edit]
std::linear_congruential_engine
メンバ関数
linear_congruential_engine::linear_congruential_engine
linear_congruential_engine::seed
生成
linear_congruential_engine::operator()
linear_congruential_engine::discard
特性
linear_congruential_engine::min
linear_congruential_engine::max
非メンバ関数
operator==
operator!=
operator<<
operator>>
[edit]
void
seed
(
result_type value
=
default_seed
)
;
(1)
(C++11以上)
template
<
class
Sseq
>
void
seed
(
Sseq
&
seq
)
;
(2)
(C++11以上)
新しいシード値を使用して乱数エンジンの初期状態を再初期化します。
This section is incomplete
[
編集
]
引数
value
-
初期状態の初期化で使用するためのシード値
seq
-
初期状態の初期化で使用するためのシードシーケンス
[
編集
]
例外
(なし)
[
編集
]
計算量
This section is incomplete
カテゴリ
:
Todo without reason