std::negative_binomial_distribution::negative_binomial_distribution
De cppreference.com
|
|
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 negative_binomial_distribution( IntType k = 1, double p = 0.5 ); |
(1) | (ya que C + +11) |
| explicit negative_binomial_distribution( const param_type& params ); |
(2) | (ya que C + +11) |
Construye un objeto de distribución. La primera versión utiliza
k y p como los parámetros de distribución, la segunda versión utiliza params como los parámetros de distribución .Original:
Constructs a new distribution object. The first version uses
k 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
| k | - | la k parámetro de distribución (número de fracasos del ensayo)
Original: the k distribution parameter (number of trial failures) 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. |
[editar] Notas
Requiere que 0 < p ≤ 1 y 0 < k .
Original:
Requires that 0 < p ≤ 1 and 0 < k.
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.
El
std::negative_binomial_distribution default-construida es equivalente al default-construido std::geometric_distribution .Original:
The default-constructed
std::negative_binomial_distribution is equivalent to the default-constructed std::geometric_distribution.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.