weibull_distribution(result_type a0 = result_type(1.0),
result_type b0 = result_type(1.0));
explicit weibull_distribution(const param_type& par0);
参数
Parameter |
说明 |
---|---|
a0 |
分发参数。 |
b0 |
b分发参数。 |
par0 |
使用的参数包构造分发 |
备注
前置条件: 0.0 < a0 && 0.0 < b0
第一个构造函数构造存储值 stored_a 保存值 a0,并存储值 stored_b 表示值 b0的对象。
第二个构造函数构造存储参数从 par0初始化的对象。
要求
标头: <random>
命名空间: std