operator<<(std::geometric_distribution), operator>>(std::geometric_distribution)
Aus cppreference.com
< cpp | numeric | random | geometric distribution
![]() |
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 CharT, class Traits, class ResultType > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, |
(1) | |
template< class CharT, class Traits, class ResultType > std::basic_istream<CharT,Traits>& operator>>( std::basic_istream<CharT,Traits>& ist, |
(2) | |
Führt Stromeingangsabschnitt und Ausgabeoperationen auf Pseudozufallszahl Verteilung
1) d
.Original:
Performs stream input and output operations on pseudo-random number distribution
d
.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.
Schreibt eine textuelle Darstellung der Verteilung Parameter und interne Zustand
2) ost
als textuelle Repräsentation. Die Formatierung Fahnen und Füllzeichen der ost
sind unverändert .Original:
Writes a textual representation of the distribution parameters and internal state to
ost
as textual representation. The formatting flags and fill character of ost
are unchanged.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.
Stellt die Verteilung Parameter und internen Zustand mit Daten aus
ist
lesen. Die Formatierung Flaggen ist
sind unverändert. Die Daten wurden geschrieben sein muß mit einem Stream mit dem gleichen Gebietsschema CharT
und Traits
Template-Parameter, ansonsten ist das Verhalten undefiniert. Wenn schlechte Eingangs angetroffen wird, wird ist.setstate(std::ios::failbit) aufgerufen, die möglicherweise std::ios_base::failure werfen. d
ist in diesem Fall unverändert .Original:
Restores the distribution parameters and internal state with data read from
ist
. The formatting flags of ist
are unchanged. The data must have been written using a stream with the same locale, CharT
and Traits
template parameters, otherwise the behavior is undefined. If bad input is encountered, ist.setstate(std::ios::failbit) is called, which may throw std::ios_base::failure. d
is unchanged in that case.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
ost | - | Ausgabestrom, um die Daten einzufügen
Original: output stream to insert the data to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ist | - | Eingabestrom, um die Daten zu extrahieren
Original: input stream to extract the data from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
d | - | Pseudo-Zufallszahlen-Verteilung
Original: pseudo-random number distribution 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) ost
2) ist
[Bearbeiten] Ausnahmen
1)(None)
2) 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.
kann std::ios_base::failure auf schlechten Input werfen .
Original:
may throw std::ios_base::failure on bad input.
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.