std::binomial_distribution::binomial_distribution
De cppreference.com
< cpp | numeric | random | binomial 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. |
explicit binomial_distribution( IntType t = 1, double p = 0.5 ); |
(1) | (depuis C++11) |
explicit binomial_distribution( const param_type& params ); |
(2) | (depuis C++11) |
Construit objet de distribution. La première version utilise
t
et p
que les paramètres de la distribution, la deuxième version utilise params
que les paramètres de la distribution .Original:
Constructs new distribution object. The first version uses
t
and p
as the distribution parameters, the second version uses params
as the distribution parameters.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.
[modifier] Paramètres
t | - | le paramètre t de distribution (nombre d'essais)
Original: the t distribution parameter (number of trials) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
p | - | le paramètre p de distribution (probabilité de true génératrice d'essai)
Original: the p distribution parameter (probability of a trial generating true) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
params | - | le paramètre de distribution défini
Original: the distribution parameter set The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] Notes
Exige que 0 ≤ p ≤ 1 et 0 ≤ t .
Original:
Requires that 0 ≤ p ≤ 1 and 0 ≤ t.
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.