std::binomial_distribution::binomial_distribution
Da 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) | (desde C++11) |
explicit binomial_distribution( const param_type& params ); |
(2) | (desde C++11) |
Constrói objeto de distribuição nova. A primeira versão usa
t
e p
como os parâmetros de distribuição, a segunda versão usa params
como os parâmetros de distribuição.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.
[editar] Parâmetros
t | - | o parâmetro de distribuição t (número de tentativas)
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 | - | o parâmetro de distribuição p (probabilidade de um true geração julgamento)
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 | - | o parâmetro de distribuição definido
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. |
[editar] Notas
Requer que 0 ≤ p ≤ 1 e 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.