Espaces de noms
Variantes
Affichages
Actions

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

De cppreference.com

 
 
Bibliothèque Numerics
Fonctions mathématiques courantes
Virgule flottante environnement
Nombres complexes
Tableaux numériques
La génération de nombres pseudo-aléatoires
Moment de la compilation arithmétique rationnelle (C++11)
Génériques des opérations numériques
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
 
La génération de nombres pseudo-aléatoires
Les moteurs et les adaptateurs de moteur
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)
Générateurs
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)
Les distributions
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distributions uniformes
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)
Distributions de Bernoulli
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)
Distributions de Poisson
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)
Les distributions normales
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)
Distributions d'échantillonnage
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)
Séquences de semences
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)
Bibliothèque 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::discard_block_engine
Les fonctions membres
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.
discard_block_engine::discard_block_engine
discard_block_engine::seed
discard_block_engine::base
Génération
Original:
Generation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
discard_block_engine::operator()
discard_block_engine::discard
Caractéristiques
Original:
Characteristics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
discard_block_engine::min
discard_block_engine::max
Tiers fonctions
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,

          class Engine, size_t p, size_t r >
std::basic_ostream<CharT,Traits>&
    operator<<( std::basic_ostream<CharT,Traits>& ost,

                const discard_block_engine<Engine,p,r>& e );
(1) (depuis C++11)
template< class CharT, class Traits, class ResultType,

          class Engine, size_t p, size_t r >
std::basic_istream<CharT,Traits>&
    operator>>( std::basic_istream<CharT,Traits>& ist,

                discard_block_engine<Engine,p,r>& e );
(2) (depuis C++11)
1)
Sérialise l'état interne de l'adaptateur nombre pseudo-aléatoire du moteur comme une séquence de nombres décimaux séparés par un ou plusieurs espaces, et l'insère dans le flux ost. Le caractère de remplissage et de mise en page les drapeaux du courant sont ignorés et sans affectation .
Original:
Serializes the internal state of the pseudo-random number engine adaptor as a sequence of decimal numbers separated by one or more spaces, and inserts it to the stream ost. The fill character and the formatting flags of the stream are ignored and unaffected.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Restaure l'état interne de l'e nombre pseudo-aléatoire moteur de l'adaptateur de la représentation sérialisée, qui a été créé par un appel antérieur à operator<< utilisant un flux avec le même lieu imprégné et le CharT même Traits. Si l'entrée ne peut pas être désérialisé, e reste inchangé et s'élève sur failbit ist
Original:
Restores the internal state of the pseudo-random number engine adaptor e from the serialized representation, which was created by an earlier call to operator<< using a stream with the same imbued locale and the same CharT and Traits. If the input cannot be deserialized, e is left unchanged and failbit is raised on ist
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si une représentation textuelle est écrite en utilisant os << x et que la représentation est rétablie dans le même ou un autre objet y du même type en utilisant is >> y, puis x==y .
Original:
If a textual representation is written using os << x and that representation is restored into the same or a different object y of the same type using is >> y, then x==y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Sommaire

[modifier] Paramètres

ost -
flux de sortie pour insérer les données d'
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 -
flux d'entrée pour extraire les données à partir de
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.
e -
Adaptateur moteur pour sérialiser ou restaurer
Original:
engine adaptor to serialize or restore
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Retourne la valeur

1) ost
2) ist

[modifier] Complexité

[modifier] Exceptions

1)
(Aucun)
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)
Peut générer std::ios::failure lors de la mise failbit
Original:
May throw std::ios::failure when setting failbit
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.