cppreference.com
创建账户
登录
名字空间
页面
讨论
变换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看
查看
编辑
历史
操作
std::shuffle_order_engine<Engine,K>::
operator()
来自cppreference.com
<
cpp
|
numeric
|
random
|
shuffle order engine
[编辑模板]
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)
饱和算术
(C++26)
因数运算
gcd
(C++17)
lcm
(C++17)
插值
midpoint
(C++20)
lerp
(C++20)
泛型算术运算
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)
C 风格带检查整数算术
ckd_add
(C++26)
ckd_sub
(C++26)
ckd_mul
(C++26)
[编辑]
伪随机数生成
均匀随机位生成器
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)
exponential_distribution
(C++11)
gamma_distribution
(C++11)
weibull_distribution
(C++11)
extreme_value_distribution
(C++11)
正态分布
normal_distribution
(C++11)
lognormal_distribution
(C++11)
chi_squared_distribution
(C++11)
cauchy_distribution
(C++11)
fisher_f_distribution
(C++11)
student_t_distribution
(C++11)
采样分布
discrete_distribution
(C++11)
piecewise_constant_distribution
(C++11)
piecewise_linear_distribution
(C++11)
[编辑]
std::shuffle_order_engine
成员函数
shuffle_order_engine::shuffle_order_engine
shuffle_order_engine::seed
shuffle_order_engine::base
生成
shuffle_order_engine::operator()
shuffle_order_engine::discard
特征
shuffle_order_engine::min
shuffle_order_engine::max
非成员函数
operator==
operator!=
(C++11)
(C++11)
(C++20 前)
operator<<
operator>>
(C++11)
(C++11)
[编辑]
result_type operator
(
)
(
)
;
(C++11 起)
生成一个随机值。令底层引擎状态前进一或多次。
目录
1
参数
2
返回值
3
异常
4
参阅
[
编辑
]
参数
(无)
[
编辑
]
返回值
[
min
(
)
,
max
(
)
] 中的一个伪随机数。
[
编辑
]
异常
不抛出。
[
编辑
]
参阅
discard
(C++11)
令适配器状态前进指定量
(公开成员函数)
[编辑]