operator==,!=(std::linear_congruential_engine)
De cppreference.com
< cpp | numeric | random | linear congruential engine
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
template< class UIntType, UIntType a, UIntType c, UIntType m > bool operator==( const linear_congruential_engine<UIntType,a,c,m>& lhs, |
(1) | (desde C++11) |
template< class UIntType, UIntType a, UIntType c, UIntType m > bool operator==( const linear_congruential_engine<UIntType,a,c,m>& lhs, |
(2) | (desde C++11) |
Compara dos pseudo-aleatorios motores de números. Dos motores son iguales, si sus estados internos son equivalentes, es decir, si iban a generar valores equivalentes para cualquier número de llamadas de operator() .
Original:
Compares two pseudo-random number engines. Two engines are equal, if their internal states are equivalent, that is, if they would generate equivalent values for any number of calls of operator().
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.
[editar] Parámetros
lhs, rhs | - | motores para comparar
Original: engines to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Valor de retorno
1)
true si los motores son equivalentes, false lo contrario .
Original:
true if the engines are equivalent, false otherwise.
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.
2)
true si los motores no son equivalentes, por lo demás false .
Original:
true if the engines are not equivalent, false otherwise.
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.
[editar] Excepciones
(Ninguno)
Original:
(none)
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.