std::binomial_distribution::binomial_distribution
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
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) |
Construye objeto de distribución. La primera versión utiliza
t y p como los parámetros de distribución, la segunda versión utiliza params como los parámetros de distribución .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.
Parámetros
| t | - | la t parámetro de distribución (número de ensayos)
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 | - | la p parámetro de distribución (probabilidad de un generador de
true ensayo)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 | - | el parámetro de distribución establecido
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. |
Notas
Requiere que 0 ≤ p ≤ 1 y 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.