operator==,!= (std::student_t_distribution)
From cppreference.net
<
cpp
|
numeric
|
random
|
student t 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::student_t_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
student_t_distribution
&
lhs,
const student_t_distribution & rhs ) ; |
(1) | (C++11 이후) |
|
friend
bool
operator
!
=
(
const
student_t_distribution
&
lhs,
const student_t_distribution & rhs ) ; |
(2) |
(C++11 이후)
(C++20 이전) |
두 분포 객체를 비교합니다. 매개변수 값과 내부 상태가 동일할 때 두 분포 객체는 같습니다.
1)
두 분포 객체의 동등성을 비교합니다.
2)
두 분포 객체가 서로 다른지 비교합니다.
이 함수들은 일반적인 unqualified lookup 또는 qualified lookup 으로는 보이지 않으며, std::student_t_distribution<ResultType>이 인자들의 연관 클래스일 때에만 argument-dependent lookup 을 통해서만 찾을 수 있습니다.
|
|
(C++20부터) |
목차 |
매개변수
| lhs, rhs | - | 비교할 분포 객체 |
반환값
1)
true
분포 객체가 동일하면,
false
그렇지 않으면.
2)
true
분포 객체가 서로 다르면,
false
그렇지 않으면.
복잡도
상수.
결함 보고서
다음의 동작 변경 결함 보고서들은 이전에 발표된 C++ 표준에 소급 적용되었습니다.
| DR | 적용 대상 | 게시된 동작 | 올바른 동작 |
|---|---|---|---|
| LWG 3519 | C++11 |
동등 연산자의 형태가 명시되지 않음
(히든 프렌드 또는 자유 함수 템플릿일 수 있음) |
히든 프렌드로 명시됨 |