operator<<(std::negative_binomial_distribution), operator>>(std::negative_binomial_distribution)
Da cppreference.com.
< cpp | numeric | random | negative binomial distribution
![]() | 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 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) | |
Esegue le operazioni di flusso di ingresso e di uscita su pseudo-casuale
1) d
numero di distribuzione.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.
Scrive una rappresentazione testuale dei parametri di distribuzione e lo stato interno di
2) ost
come rappresentazione testuale. I flag di formattazione e il carattere di riempimento di ost
restano invariate.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.
Ripristina i parametri della distribuzione e lo stato interno con i dati letti da
ist
. Le bandiere di formattazione di ist
sono immutate. I dati devono essere stato scritto utilizzando un flusso con le stesse impostazioni internazionali, CharT
e parametri di modello Traits
, altrimenti il comportamento è indefinito. Se l'ingresso male si incontra, ist.setstate(std::ios::failbit) si chiama, che può std::ios_base::failure tiro. d
è invariato in questo caso.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.
[modifica]Parametri
ost | - | flusso di output per inserire i dati 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 | - | flusso di input per estrarre i dati da 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-casuale distribuzione 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. |
[modifica]Valore di ritorno
1) ost
2) ist
[modifica]Eccezioni
1)(Nessuno)
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.
può gettare std::ios_base::failure sull'ingresso male.
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.