operator==,!=(std::linear_congruential_engine)
Da cppreference.com
< cpp | numeric | random | linear congruential 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. |
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 dois motores de números pseudo-aleatórios. Dois motores são iguais, se os seus estados internos são equivalentes, isto é, se eles iriam gerar valores equivalentes para qualquer número de chamadas 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 se os motores são equivalentes, false outra forma.
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 se os motores não são equivalentes, de outro modo.. 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]Exceções
(Nenhum)
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.