std::mersenne_twister_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. |
| Defined in header <random>
|
||
| template< class UIntType, |
(ya que C + +11) | |
| This section is incomplete |
[editar] Tipos de miembros
| Miembro de tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
result_type
|
El tipo integral generada por el motor. Los resultados son indefinido si esto no es un tipo entero sin signo .
Original: The integral type generated by the engine. Results are undefined if this is not an unsigned integral type. The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Las funciones miembro
Original: Construction and Seeding The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| construye el motor Original: constructs the engine The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |
| establece el estado actual del 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. (miembro público función) | |
Original: Generation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| avances del estado del motor y devuelve el valor generado Original: advances the engine's state and returns the generated value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |
| avances del estado del motor en una cantidad especificada Original: advances the engine's state by a specified amount The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |
Original: Characteristics The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| [estático] |
se obtiene el valor más pequeño posible en el rango de salida Original: gets the smallest possible value in the output range The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro estático público función) |
| [estático] |
gets the largest possible value in the output range (miembro estático público función) |
[editar] Terceros funciones
| compara los estados internos de los dos motores de números pseudo-aleatorios Original: compares the internal states of two pseudo-random number engines The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
| realiza flujo de entrada y de salida en el motor de número pseudo-aleatorio Original: performs stream input and output on 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. (función) | |
[editar] Objetos miembros
| constexpr size_t word_size [estático] |
(público miembro constante estática) | ||
| constexpr size_t state_size [estático] |
(público miembro constante estática) | ||
| constexpr size_t shift_size [estático] |
(público miembro constante estática) | ||
| constexpr size_t mask_bits [estático] |
(público miembro constante estática) | ||
| constexpr UIntType xor_mask [estático] |
(público miembro constante estática) | ||
| constexpr size_t tempering_u [estático] |
(público miembro constante estática) | ||
| constexpr UIntType tempering_d [estático] |
(público miembro constante estática) | ||
| constexpr size_t tempering_s [estático] |
(público miembro constante estática) | ||
| constexpr UIntType tempering_b [estático] |
(público miembro constante estática) | ||
| constexpr size_t tempering_t [estático] |
(público miembro constante estática) | ||
| constexpr UIntType tempering_c [estático] |
(público miembro constante estática) | ||
| constexpr size_t tempering_l [estático] |
(público miembro constante estática) | ||
| constexpr UIntType initialization_multiplier [estático] |
(público miembro constante estática) | ||
| constexpr UIntType default_seed [estático] |
(público miembro constante estática) | ||