std::binomial_distribution::binomial_distribution
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> explicit binomial_distribution( IntType t = 1, double p = 0.5 ); |
(1) | (dal C++11) |
explicit binomial_distribution( const param_type& params ); |
(2) | (dal C++11) |
Costruisce nuovo oggetto di distribuzione. La prima versione utilizza
t e p come i parametri di distribuzione, la seconda versione utilizza params come i parametri di distribuzione.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.
Parametri
| t | - | il t parametro di distribuzione (numero di prove)
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 parametro di distribuzione (probabilità di un
true generatrice di prova)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 | - | il parametro di distribuzione predisposto
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. |
Note
Richiede che 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.