std::mersenne_twister_engine::mersenne_twister_engine
来自cppreference.com
< cpp | numeric | random | mersenne twister engine
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| explicit mersenne_twister_engine( result_type value = default_seed ); |
(1) | (C++11 起) |
| template< class Sseq > explicit mersenne_twister_engine( Sseq& s ); |
(2) | (C++11 起) |
构造的伪随机数引擎.
Original:
Constructs the pseudo-random number engine.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
| 本节是不完整的 |
[编辑] 参数
| value | - | 种子值,使用中的内部状态初始化
Original: seed value to use in the initialization of the internal state The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| s | - | 种子序列中使用的内部状态初始化
Original: seed sequence to use in the initialization of the internal state The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 复杂性
| 本节是不完整的 |
[编辑] 另请参阅
| 设置当前状态的发动机 Original: sets the current state of the engine The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数) | |