std::uniform_real_distribution::uniform_real_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 uniform_real_distribution( RealType a = 0.0, RealType b = 1.0 ); |
(1) | (desde C++11) |
explicit uniform_real_distribution( const param_type& params ); |
(2) | (desde C++11) |
Construye objeto de distribución. La primera versión utiliza
a y b como los parámetros de distribución, la segunda versión utiliza params como los parámetros de distribuciónOriginal:
{{{2}}}
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.
|Constructs new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters}}}}
Parámetros
| a | - | la' un parámetro de distribución (valor mínimo)
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 | - | la b parámetro de distribución (valor máximo)
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 | - | 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 a ≤ b y b-a ≤ std::numeric_limits<RealType>::max()
Original:
Requires that a ≤ b and b-a ≤ std::numeric_limits<RealType>::max()
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.