std::gamma_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. |
Elemento definito nell'header <random>
|
||
template< class RealType = double > class gamma_distribution; |
(dal C++11) | |
Produce casuali valori positivi interi x, distribuiti in base alla funzione di densità di probabilità:
Original:
Produces random positive integer values x, distributed according to probability density function:
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.
- P(x|α,β) =
e-x/β βα
· Γ(α)
dove α è noto come la forma' parametro e β è noto come il parametro di scala'.
Original:
where α is known as the shape parameter and β is known as the scale parameter.
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.
Per α intero, il valore ottenuto è la somma di variabili indipendenti α esponenzialmente distribuite casuali, ognuno dei quali ha una media di β
Original:
For integer α, the value obtained is the sum of α independent exponentially distributed random variables, each of which has a mean of β
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.
[modifica] Membri tipi
Membro tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
result_type
|
RealType |
param_type
|
il tipo di set di parametri, non specificato
Original: the type of the parameter set, unspecified The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Membri funzioni
costruisce nuova distribuzione Original: constructs new distribution The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
ripristina lo stato interno della distribuzione Original: resets the internal state of the distribution The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
Original: Generation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
genera il successivo numero casuale nella distribuzione Original: generates the next random number in the distribution The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
Original: Characteristics The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
restituisce il parametro α distribuzione (forma) Original: returns the α distribution parameter (shape) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
restituisce il parametro β distribuzione (scala) Original: returns the β distribution parameter (scale) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
ottiene o imposta l'oggetto parametro di distribuzione Original: gets or sets the distribution parameter object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
restituisce il valore minimo potenzialmente generato Original: returns the minimum potentially generated value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
restituisce il valore massimo potenzialmente generato Original: returns the maximum potentially generated value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |
[modifica] Non membri funzioni
confronta due oggetti di distribuzione Original: compares two distribution objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
esegue flusso di ingresso e di uscita sul pseudo-casuale distribuzione numerica Original: performs stream input and output on pseudo-random number distribution The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Collegamenti esterni
Weisstein, Eric W. "Gamma Distribution." Da MathWorld - Una risorsa Web Wolfram.
Original:
Weisstein, Eric W. "Gamma Distribution." From MathWorld--A Wolfram Web Resource.
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.