std::poisson_distribution::poisson_distribution
来自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. |
| explicit poisson_distribution( double mean = 1.0 ); |
(1) | (C++11 起) |
| explicit poisson_distribution( const param_type& params ); |
(2) | (C++11 起) |
构造一个新分配的对象。第一个版本使用
mean的分布参数,第二个版本使用params的分布参数.Original:
Constructs a new distribution object. The first version uses
mean as the distribution parameter, the second version uses params as the distribution 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.
[编辑] 参数
| mean | - | “μ”分布参数(平均分配)
Original: the μ distribution parameter (the mean 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. |
| params | - | 的分布参数设定
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. |
[编辑] 注释
要求0 < mean.
Original:
Requires that 0 < mean.
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.