std::cauchy_distribution<RealType>:: cauchy_distribution
From ja.cppreference.net
<
cpp
|
numeric
|
random
|
cauchy distribution
|
cauchy_distribution
(
)
:
cauchy_distribution
(
0.0
)
{
}
|
(1) | (C++11以降) |
|
explicit
cauchy_distribution
(
RealType a, RealType b
=
1.0
)
;
|
(2) | (C++11以降) |
|
explicit
cauchy_distribution
(
const
param_type
&
params
)
;
|
(3) | (C++11以降) |
新しい分布オブジェクトを構築します。
2)
分布パラメータとして
a
と
b
を使用します。
3)
params
を分布パラメータとして使用します。
パラメータ
| a | - | 分布パラメータ a (位置パラメータ) |
| b | - | 分布パラメータ b (尺度パラメータ) |
| params | - | 分布パラメータセット |
不具合報告
以下の動作変更の欠陥報告書は、以前に公開されたC++規格に対して遡及的に適用されました。
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| P0935R0 | C++11 | デフォルトコンストラクタがexplicitであった | 暗黙的(implicit)に変更 |