名前空間
変種
操作

operator==,!=(std::discrete_distribution)

提供: cppreference.com
 
 
 
擬似乱数生成
エンジンとエンジンアダプタ
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.
ジェネレータ
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ディストリビューション
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
一様分布
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.
ベルヌーイ分布
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.
ポアソン分布
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.
正規分布
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.
サンプリング分布
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.
シードシーケンス
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ライブラリ
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.
 
 
template< class ResultType >

bool operator==( const discrete_distribution<ResultType>& lhs,

                 const discrete_distribution<ResultType>& rhs );
(1)
template< class ResultType >

bool operator!=( const discrete_distribution<ResultType>& lhs,

                 const discrete_distribution<ResultType>& rhs );
(2)

2つの分布オブジェクトを比較します。 パラメータ値と内部状態が同じであれば、2つの分布オブジェクトは等しくなります。

1) 2つの分布オブジェクトが等しいかどうか比較します。

2) 2つの分布オブジェクトが等しくないかどうか比較します。

[編集] 引数

lhs, rhs - 比較する分布オブジェクト

[編集] 戻り値

1) 分布オブジェクトが等しい場合は true、そうでなければ false

2) 分布オブジェクトが等しくない場合は true、そうでなければ false

[編集] 計算量

一定。