operator==,!=(std::linear_congruential_engine)
De 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) | (depuis C++11) |
template<class UIntType, UIntType a, UIntType c, UIntType m > bool operator==(const linear_congruential_engine<UIntType,a,c,m>& lhs, | (2) | (depuis C++11) |
Compare deux moteurs de nombres pseudo-aléatoires. Deux moteurs sont égaux, si leurs états internes sont équivalentes, c'est à dire si elles génèrent des valeurs équivalentes pour n'importe quel nombre d'appels 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.
[modifier]Paramètres
lhs, rhs | - | moteurs à comparer 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. |
[modifier]Retourne la valeur
1)
true si les moteurs sont équivalents, false autrement .
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 les moteurs ne sont pas équivalentes, false autrement .
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.
[modifier]Exceptions
(Aucun)
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.