operator==,!=(std::linear_congruential_engine)
Da cppreference.com.
< cpp | numeric | random | linear congruential engine
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
template< class UIntType, UIntType a, UIntType c, UIntType m > bool operator==( const linear_congruential_engine<UIntType,a,c,m>& lhs, |
(1) | (dal C++11) |
template< class UIntType, UIntType a, UIntType c, UIntType m > bool operator==( const linear_congruential_engine<UIntType,a,c,m>& lhs, |
(2) | (dal C++11) |
Confronta due pseudo-casuali n.ro motori. Due motori sono uguali, se i loro stati interni sono equivalenti, cioè se essi generano valori equivalenti per qualsiasi numero di chiamate di 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.
[modifica] Parametri
lhs, rhs | - | motori da confrontare
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. |
[modifica] Valore di ritorno
1)
true se i motori sono equivalenti, in caso contrario false.
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 i motori non sono equivalenti, in caso contrario 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.
[modifica] Eccezioni
(Nessuno)
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.