std::weibull_distribution<RealType>::weibull_distribution
来自cppreference.com
< cpp | numeric | random | weibull
distribution
数值库
伪随机数生成
均匀随机位生成器 | ||||
(C++20)
|
||||
引擎及引擎适配器 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
非确定性生成器 | ||||
(C++11)
|
||||
分布 | ||||
均匀分布 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
伯努利分布 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
泊松分布 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
正态分布 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
采样分布 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
种子序列 | ||||
(C++11)
|
||||
C 库 | ||||
std::weibull_distribution
成员函数 | ||||
weibull_distribution::weibull_distribution
(C++11)
|
||||
(C++11)
|
||||
生成 | ||||
(C++11)
|
||||
特征 | ||||
(C++11)(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
成员函数 | ||||
(C++11)(C++11)(C++20
前)
|
||||
(C++11)(C++11)
|
weibull_distribution()
:
weibull_distribution(1.0)
{}
|
(1) | (C++11 起) |
explicit
weibull_distribution(
RealType a, RealType b =
1.0
);
|
(2) | (C++11 起) |
explicit
weibull_distribution(
const
param_type&
params );
|
(3) | (C++11 起) |
构造新的分布对象。 (2) 以 a
和 b
为分布参数。 (3) 以 params
为分布参数。
参数
a | - | a 分布参数(形状) |
b | - | b 分布参数(尺度) |
params | - | 分布参数集 |
缺陷报告
下列更改行为的缺陷报告追溯地应用于以前出版的 C++ 标准。
缺陷报告 | 应用于 | 出版时的行为 | 正确行为 |
---|---|---|---|
P0935R0 | C++11 | 默认构造函数曾为 explicit | 使之为隐式 |