std::philox_engine<UIntType,w,n,r,consts>::seed
From cppreference.com
< cpp | numeric | random | philox engine
| void seed( result_type value = default_seed ); |
(1) | (C++26以降) |
template< class SeedSeq > void seed( SeedSeq& seq ); |
(2) | (C++26以降) |
乱数エンジンの状態を設定します。
目次 |
[編集] パラメータ
| value | - | 状態を設定するために使用するシード値 |
| seq | - | 状態を設定するために使用するシードシーケンス |
[編集] 例外
[編集] 計算量
1) std::philox_engine(value) と同じです。
2) std::philox_engine(seq) と同じです。
[編集] 関連項目
| エンジンを構築します。 (public member function) | |
| エンジンの現在のカウンタを設定します。 (public member function) |