std::piecewise_constant_distribution<RealType>:: piecewise_constant_distribution
| 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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
piecewise_constant_distribution::piecewise_constant_distribution
|
||||
| Generation | ||||
| Characteristics | ||||
| Non-member functions | ||||
|
(C++11)
(C++11)
(until C++20)
|
||||
|
(C++11)
(C++11)
|
|
piecewise_constant_distribution
(
)
;
|
(1) | (C++11부터) |
|
template
<
class
InputIt1,
class
InputIt2
>
piecewise_constant_distribution
(
InputIt1 first_i, InputIt1 last_i,
|
(2) | (C++11부터) |
|
template
<
class
UnaryOperation
>
piecewise_constant_distribution
(
std::
initializer_list
<
RealType
>
ilist_i,
|
(3) | (C++11부터) |
|
template
<
class
UnaryOperation
>
piecewise_constant_distribution
(
std::
size_t
nw,
|
(4) | (C++11부터) |
|
explicit
piecewise_constant_distribution
(
const
param_type
&
param
)
;
|
(5) | (C++11부터) |
새로운 조각별 상수 분포 객체를 생성합니다.
[
first_i
,
last_i
)
그리고 일치하는 가중치 시퀀스가
first_w
에서 시작합니다.
매개변수
| first_i | - | 구간 시퀀스의 시작점으로 초기화된 반복자 |
| last_i | - | 구간 시퀀스의 끝 다음 위치로 초기화된 반복자 |
| first_w | - | 밀도(가중치) 시퀀스의 시작점으로 초기화된 반복자 |
| ilist_i | - | 구간 시퀀스를 제공하는 initializer_list |
| fw | - | 밀도를 제공하는 double(double) 함수 |
| nw | - | 밀도 개수 |
| xmin | - | 구간 시퀀스의 하한 |
| xmax | - | 구간 시퀀스의 상한 |
| param | - | 분포 매개변수 집합 |