Espacios de nombres
Variantes
Acciones

std::uniform_real_distribution::operator()

De cppreference.com
 
 
 
Generación de números pseudoaleatorios
Motores y adaptadores de motor
Original:
Engines and engine adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Generadores
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones uniformes
Original:
Uniform distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bernoulli distribuciones
Original:
Bernoulli distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Poisson distribuciones
Original:
Poisson distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones normales
Original:
Normal distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones de muestreo
Original:
Sampling distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Secuencias de semillas
Original:
Seed Sequences
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
C biblioteca
Original:
C library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::uniform_real_distribution
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Generación
Original:
Generation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uniform_real_distribution::operator()
Características
Original:
Characteristics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Terceros funciones
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
template<class Generator >
result_type operator()( Generator& g );
(1) (desde C++11)
template<class Generator >
result_type operator()( Generator& g, const param_type& params );
(2) (desde C++11)

Genera números aleatorios que se distribuyen de acuerdo con la función de probabilidad asociada. La entropía se obtiene llamando a g.operator() .


(1) Usa el conjunto de parámetros asociados.

(2) Usa params como parámetros de la distribución. El conjunto de parámetros asociado no se modifica.

[editar] Parámetros

g - un objeto generador uniforme de números aleatorios.
params - un conjunto de parámetros de distribución para utilizar en lugar del asociado

[editar] Valor de retorno

El número aleatorio generado.

[editar] Complejidad

El número constante de invocaciones a g.operator() amortizado.

close