「cpp/numeric/random/discrete distribution/operator cmp」の版間の差分
提供: cppreference.com
< cpp | numeric | random | discrete distribution
TranslationBot (トーク | 投稿記録) (Translated from the English version using Google Translate) |
細 (Use {{lc}}. Update links. Various fixes.) |
||
(2人の利用者による、間の2版が非表示) | |||
1行: | 1行: | ||
− | {{page | + | {{page|cpp/numeric/random/distribution/operator_cmp|discrete_distribution}} |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
2013年7月2日 (火) 14:43時点における最新版
template< class ResultType > bool operator==( const discrete_distribution<ResultType>& lhs, |
(1) | |
template< class ResultType > bool operator!=( const discrete_distribution<ResultType>& lhs, |
(2) | |
2つの分布オブジェクトを比較します。 パラメータ値と内部状態が同じであれば、2つの分布オブジェクトは等しくなります。
1) 2つの分布オブジェクトが等しいかどうか比較します。
2) 2つの分布オブジェクトが等しくないかどうか比較します。
引数
lhs, rhs | - | 比較する分布オブジェクト |
戻り値
1) 分布オブジェクトが等しい場合は true、そうでなければ false。
2) 分布オブジェクトが等しくない場合は true、そうでなければ false。
計算量
一定。