std::negative_binomial_distribution::negative_binomial_distribution
提供:cppreference.com
|
|
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 negative_binomial_distribution( IntType k = 1, double p = 0.5 ); |
(1) | (C + + 11以来) |
| explicit negative_binomial_distribution( const param_type& params ); |
(2) | (C + + 11以来) |
新しいディストリビューオブジェクトを構築します。最初のバージョンは
kとp分布パラメータとして使用し、2番目のバージョンは、分布パラメータとしてparamsを使用しています.Original:
Constructs a new distribution object. The first version uses
k and p as the distribution parameters, the second version uses params as the distribution parameters.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.
[編集] パラメータ
| k | - | K分布パラメータ(試行失敗の回数)
Original: the k distribution parameter (number of trial failures) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| p | - | pの分布パラメータ(trueを生成する試験の確率)
Original: the p distribution parameter (probability of a trial generating true) 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 < p ≤ 1と0 < k.
Original:
Requires that 0 < p ≤ 1 and 0 < k.
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.
デフォルト構築
std::negative_binomial_distributionに相当std::geometric_distributionデフォルト構成され.Original:
The default-constructed
std::negative_binomial_distribution is equivalent to the default-constructed std::geometric_distribution.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.