std::poisson_distribution::operator()
Aus cppreference.com
< cpp | numeric | random | poisson distribution
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
template<class Generator > result_type operator()( Generator& g ); | (1) | (seit C++11) |
template<class Generator > result_type operator()( Generator& g, const param_type& params ); | (2) | (seit C++11) |
Erzeugt Zufallszahlen, die entsprechend der zugehörigen Wahrscheinlichkeitsfunktion verteilt sind. Die Entropie wird durch den Aufruf g.operator() erworben .
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.
You can help to correct and verify the translation. Click here for instructions.
Die erste Version verwendet den zugehörigen Parametersatz, verwendet die zweite Version
params
. Die zugehörige Parametersatz wird nicht geändert .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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten]Parameter
g | - | eine gleichmäßige Zufallszahlengenerator Objekt 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 | - | Verteilung Parametersatz stattdessen der zugehörigen ein 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. |
[Bearbeiten]Rückgabewert
Die erzeugte Zufallszahl .
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten]Komplexität
Fortgeführten konstante Anzahl von Anrufungen 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.
You can help to correct and verify the translation. Click here for instructions.