cppreference.cn
创建账户
登录
命名空间
页面
讨论
变体
视图
查看
编辑
历史
操作
std::weibull_distribution<RealType>::
a, b
来自 cppreference.cn
<
cpp
|
numeric
|
random
|
weibull distribution
C++
编译器支持
独立和托管
语言
标准库
标准库头文件
具名要求
特性测试宏
(C++20)
语言支持库
概念库
(C++20)
诊断库
内存管理库
元编程库
(C++11)
通用工具库
容器库
迭代器库
范围库
(C++20)
算法库
字符串库
文本处理库
数值库
日期和时间库
输入/输出库
文件系统库
(C++17)
并发支持库
(C++11)
执行控制库
(C++26)
技术规范
符号索引
外部库
[编辑]
数值库
常用数学函数
数学特殊函数
(C++17)
数学常数
(C++20)
基本线性代数算法
(C++26)
数据并行类型 (SIMD)
(C++26)
浮点环境
(C++11)
复数
数值数组 (
valarray
)
伪随机数生成
位操作
(C++20)
因子运算
gcd
(C++17)
lcm
(C++17)
插值
midpoint
(C++20)
lerp
(C++20)
饱和算术
add_sat
(C++26)
sub_sat
(C++26)
saturate_cast
(C++26)
mul_sat
(C++26)
div_sat
(C++26)
通用数值运算
iota
(C++11)
ranges::iota
(C++23)
accumulate
inner_product
adjacent_difference
partial_sum
reduce
(C++17)
transform_reduce
(C++17)
inclusive_scan
(C++17)
exclusive_scan
(C++17)
transform_inclusive_scan
(C++17)
transform_exclusive_scan
(C++17)
[编辑]
伪随机数生成
均匀随机位生成器
uniform_random_bit_generator
(C++20)
随机数引擎
linear_congruential_engine
(C++11)
mersenne_twister_engine
(C++11)
subtract_with_carry_engine
(C++11)
philox_engine
(C++26)
随机数引擎适配器
discard_block_engine
(C++11)
independent_bits_engine
(C++11)
shuffle_order_engine
(C++11)
预定义的随机数生成器
非确定性随机数
random_device
(C++11)
工具
generate_canonical
(C++11)
seed_seq
(C++11)
随机数算法
ranges::generate_random
(C++26)
C 随机库
rand
srand
RAND_MAX
随机数分布
均匀分布
uniform_int_distribution
(C++11)
uniform_real_distribution
(C++11)
generate_canonical
(C++11)
伯努利分布
bernoulli_distribution
(C++11)
binomial_distribution
(C++11)
negative_binomial_distribution
(C++11)
geometric_distribution
(C++11)
泊松分布
poisson_distribution
(C++11)
指数分布
(C++11)
gamma_distribution
(C++11)
weibull_distribution
(C++11)
极值分布
(C++11)
正态分布
normal_distribution
(C++11)
对数正态分布
(C++11)
chi_squared_distribution
(C++11)
柯西分布
(C++11)
fisher_f_distribution
(C++11)
学生 t 分布
(C++11)
抽样分布
discrete_distribution
(C++11)
piecewise_constant_distribution
(C++11)
piecewise_linear_distribution
(C++11)
[编辑]
std::weibull_distribution
成员函数
weibull_distribution::weibull_distribution
weibull_distribution::reset
生成
weibull_distribution::operator()
特性
weibull_distribution::a
weibull_distribution::b
weibull_distribution::param
weibull_distribution::min
weibull_distribution::max
非成员函数
operator==
operator!=
(C++11)
(C++11)
(直到 C++20)
operator<<
operator>>
(C++11)
(C++11)
[编辑]
RealType a
(
)
const
;
(1)
(since C++11) (自 C++11 起)
RealType b
(
)
const
;
(2)
(since C++11) (自 C++11 起)
返回分布构建时使用的参数。
1)
返回
a
参数。它定义分布的形状。默认值是
1.0
。
2)
返回
b
参数。它定义分布的尺度。默认值是
1.0
。
目录
1
参数
2
返回值
3
复杂度
4
参见
[
edit
]
参数
(无)
[
edit
]
返回值
1)
a
参数的值。
2)
b
参数的值。
[
edit
]
复杂度
常数。
[
edit
]
参见
param
(C++11)
获取或设置分布参数对象
(公共成员函数)
[编辑]