std::uniform_int_distribution::uniform_int_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 uniform_int_distribution( IntType a = 0, IntType b = std::numeric_limits<IntType>::max() ); |
(1) | (dal C++11) |
explicit uniform_int_distribution( const param_type& params ); |
(2) | (dal C++11) |
Costruisce nuovo oggetto di distribuzione. La prima versione utilizza
a e b come i parametri di distribuzione, la seconda versione utilizza params come i parametri di distribuzione.Original:
Constructs new distribution object. The first version uses
a and b 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
| a | - | il una distribuzione parametro (valore minimo)
Original: the a distribution parameter (minimum value) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| b | - | il b parametro di distribuzione (valore massimo)
Original: the b distribution parameter (maximum value) 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 a≤b
Original:
Requires that a≤b
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.