std::linear_congruential_engine::linear_congruential_engine
De cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody> explicit linear_congruential_engine( result_type value = default_seed ); |
(1) | (desde C++11) |
template< class Sseq > explicit linear_congruential_engine( Sseq& s ); |
(2) | (desde 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.
| Esta seção está incompleta |
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. |
Complexidade
| Esta seção está incompleta |
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) | |