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. (public функция-член) | |