std::mersenne_twister_engine::mersenne_twister_engine
Da 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) | (a partir do C++ 11) |
| template< class Sseq > explicit mersenne_twister_engine( Sseq& s ); |
(2) | (a partir do C++ 11) |
Constrói o motor de número pseudo-aleatório.
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.
| This section is incomplete |
[editar] Parâmetros
| value | - | valor de semente a ser usado na inicialização do estado interno
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 | - | sequência de semente a ser usado na inicialização do estado interno
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. |
[editar] Complexidade
| This section is incomplete |
[editar] Veja também
| define o estado atual do motor 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. (função pública membro) | |