operator==,!= (std::extreme_value_distribution)
From cppreference.net
<
cpp
|
numeric
|
random
|
extreme value distribution
C++
Numerics library
| Common mathematical functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mathematical special functions (C++17) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mathematical constants (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Basic linear algebra algorithms (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data-parallel types (SIMD) (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Floating-point environment (C++11) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Complex numbers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Numeric array (
valarray
)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Pseudo-random number generation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bit manipulation (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Saturation arithmetic (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factor operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Interpolations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Generic numeric operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C-style checked integer arithmetic | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pseudo-random number generation
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::extreme_value_distribution
| Member functions | ||||
| Generation | ||||
| Characteristics | ||||
| Non-member functions | ||||
|
operator==
operator!=
(C++11)
(C++11)
(until C++20)
|
||||
|
(C++11)
(C++11)
|
|
friend
bool
operator
==
(
const
extreme_value_distribution
&
lhs,
const extreme_value_distribution & rhs ) ; |
(1) | (C++11以降) |
|
friend
bool
operator
!
=
(
const
extreme_value_distribution
&
lhs,
const extreme_value_distribution & rhs ) ; |
(2) |
(C++11以降)
(C++20まで) |
2つの分布オブジェクトを比較します。パラメータ値と内部状態が同じ場合、2つの分布オブジェクトは等しいと見なされます。
1)
2つの分布オブジェクトが等しいかどうかを比較します。
2)
2つの分布オブジェクトが等しくないかどうかを比較します。
これらの関数は通常の unqualified lookup または qualified lookup では可視化されず、 argument-dependent lookup によってのみ、std::extreme_value_distribution<ResultType>が引数の関連クラスである場合に見つけることができます。
|
|
(C++20以降) |
目次 |
パラメータ
| lhs, rhs | - | 比較する分布オブジェクト |
戻り値
1)
true
分布オブジェクトが等しい場合、
false
それ以外の場合。
2)
true
分布オブジェクトが等しくない場合、
false
それ以外の場合。
計算量
定数。
不具合報告
以下の動作変更の欠陥報告書は、以前に公開されたC++規格に対して遡及的に適用されました。
| DR | 適用対象 | 公開時の動作 | 正しい動作 |
|---|---|---|---|
| LWG 3519 | C++11 |
等価演算子の形式が未規定であった
(hidden friendまたは自由関数テンプレートの可能性あり) |
hidden friendとして規定 |