std::piecewise_linear_distribution<RealType>:: piecewise_linear_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_linear_distribution::piecewise_linear_distribution
|
||||
| Generation | ||||
| Characteristics | ||||
| Non-member functions | ||||
|
(C++11)
(C++11)
(until C++20)
|
||||
|
(C++11)
(C++11)
|
|
piecewise_linear_distribution
(
)
;
|
(1) | (C++11以降) |
|
template
<
class
InputIt1,
class
InputIt2
>
piecewise_linear_distribution
(
InputIt1 first_i, InputIt1 last_i,
|
(2) | (C++11以降) |
|
template
<
class
UnaryOperation
>
piecewise_linear_distribution
(
std::
initializer_list
<
RealType
>
ilist,
|
(3) | (C++11以降) |
|
template
<
class
UnaryOperation
>
piecewise_linear_distribution
(
std::
size_t
nw,
|
(4) | (C++11以降) |
|
explicit
piecewise_linear_distribution
(
const
param_type
&
parm
)
;
|
(5) | (C++11以降) |
新しい区分線形分布オブジェクトを構築します。
[
first_i
,
last_i
)
と、対応する重みシーケンスの先頭
first_w
から分布オブジェクトを構築します。
パラメータ
| first_i | - | 区間シーケンスの開始位置に初期化されたイテレータ |
| last_i | - | 区間シーケンスの終端の次に初期化されたイテレータ |
| first_w | - | 密度(重み)シーケンスの開始位置に初期化されたイテレータ |
| ilist | - | 区間シーケンスを生成するinitializer_list |
| fw | - | 密度を生成するdouble(double)関数 |
| nw | - | 密度の数 |
| xmin | - | 区間シーケンスの下限 |
| xmax | - | 区間シーケンスの上限 |
| parm | - | 分布パラメータセット |