Espaços nominais
Variantes
Acções

std::uniform_int_distribution::operator()

Da cppreference.com

 
 
Biblioteca numéricos
Funções matemáticas comuns
De ponto flutuante ambiente
Números complexos
Matrizes numéricas
Pseudo-aleatório de geração de números
Tempo de compilação aritmética racional (C++11)
Genéricos operações numéricas
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
 
Pseudo-aleatório de geração de números
Motores e 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.
Geradores
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuições
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuições 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.
Distribuições de Bernoulli
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.
Distribuições de Poisson
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.
Distribuições normais
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.
Distribuições de amostragem
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.
Seqüências de sementes
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_int_distribution
Funções de membro
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.
uniform_int_distribution::uniform_int_distribution
uniform_int_distribution::reset
Geração
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_int_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.
uniform_int_distribution::a
uniform_int_distribution::b
uniform_int_distribution::param
uniform_int_distribution::min
uniform_int_distribution::max
Não-membros funções
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)
Gera números aleatórios que são distribu��das de acordo com a função de probabilidade associado. A entropia é adquirido chamando g.operator().
Original:
Generates random numbers that are distributed according to the associated probability function. The entropy is acquired by calling g.operator().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
A primeira versão utiliza o conjunto de parâmetros associados, a segunda versão utiliza params. O conjunto de parâmetros associados não é modificada.
Original:
The first version uses the associated parameter set, the second version uses params. The associated parameter set is not modified.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Parâmetros

g -
um objeto gerador aleatório uniforme número
Original:
an uniform random number generator object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
params -
parâmetro de distribuição definido para utilizar em vez do associado
Original:
distribution parameter set to use instead of the associated one
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

O número aleatório gerado.
Original:
The generated random number.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Complexidade

Número constante amortizado de invocações de g.operator().
Original:
Amortized constant number of invocations of g.operator().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.