Namespace
Varianti

operator<<(std::normal_distribution), operator>>(std::normal_distribution)

Da cppreference.com.

 
 
Numeri libreria
Comuni funzioni matematiche
Virgola mobile ambiente
I numeri complessi
Array numerici
Pseudo-casuale generazione
In fase di compilazione aritmetica razionale (C++11)
Generici operazioni numeriche
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
Pseudo-casuale generazione
Motori e adattatori del motore
Original:
Engines and engine adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
linear_congruential_engine(C++11)
mersenne_twister_engine(C++11)
subtract_with_carry_engine(C++11)
discard_block_engine(C++11)
independent_bits_engine(C++11)
shuffle_order_engine(C++11)
Generatori
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
random_device(C++11)
Distribuzioni
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuzioni uniformi
Original:
Uniform distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uniform_int_distribution(C++11)
uniform_real_distribution(C++11)
generate_canonical(C++11)
Bernoulli distribuzioni
Original:
Bernoulli distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bernoulli_distribution(C++11)
binomial_distribution(C++11)
negative_binomial_distribution(C++11)
geometric_distribution(C++11)
Poisson distribuzioni
Original:
Poisson distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
poisson_distribution(C++11)
exponential_distribution(C++11)
gamma_distribution(C++11)
weibull_distribution(C++11)
extreme_value_distribution(C++11)
Distribuzioni normali
Original:
Normal distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
normal_distribution(C++11)
lognormal_distribution(C++11)
chi_squared_distribution(C++11)
cauchy_distribution(C++11)
fisher_f_distribution(C++11)
student_t_distribution(C++11)
Distribuzioni di campionamento
Original:
Sampling distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
discrete_distribution(C++11)
piecewise_constant_distribution(C++11)
piecewise_linear_distribution(C++11)
Seed Sequenze
Original:
Seed Sequences
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
seed_seq(C++11)
Libreria C
Original:
C library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rand
srand
RAND_MAX
 
std::normal_distribution
Membri funzioni
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
normal_distribution::normal_distribution
normal_distribution::reset
Generazione
Original:
Generation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
normal_distribution::operator()
Caratteristiche
Original:
Characteristics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
normal_distribution::mean
normal_distribution::stddev
normal_distribution::param
normal_distribution::min
normal_distribution::max
Non membri funzioni
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator==
operator!=
operator<<
operator>>
 
template< class CharT, class Traits, class ResultType >

std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost,

                                              const normal_distribution& d );
(1)
template< class CharT, class Traits, class ResultType >

std::basic_istream<CharT,Traits>& operator>>( std::basic_istream<CharT,Traits>& ist,

                                              normal_distribution& d );
(2)
Esegue le operazioni di flusso di ingresso e di uscita su pseudo-casuale 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.
1)
Scrive una rappresentazione testuale dei parametri di distribuzione e lo stato interno di 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.
2)
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.

[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)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
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.