operator==,!=(std::linear_congruential_engine)
Aus 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) | (seit C++11) |
template<class UIntType, UIntType a, UIntType c, UIntType m > bool operator==(const linear_congruential_engine<UIntType,a,c,m>& lhs, | (2) | (seit C++11) |
Vergleicht zwei Pseudozufallszahl Motoren. Zwei Motoren gleich sind, wenn ihre inneren Zustände äquivalent sind, das heißt, wenn sie äquivalente Werte für eine beliebige Anzahl von Anrufen von operator() erzeugen würde .
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.
[Bearbeiten]Parameter
lhs, rhs | - | Motoren zu vergleichen 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. |
[Bearbeiten]Rückgabewert
1)
true wenn die Motoren gleichwertig sind, false sonst .
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 wenn die Motoren nicht gleichwertig sind, false sonst .
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.
[Bearbeiten]Ausnahmen
(None)
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.