Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

类型定义 minstd_rand - Boost C++ 函数库
PrevUpHomeNext

类型定义 minstd_rand

minstd_rand

提要

// In header: <boost/random/linear_congruential.hpp>


typedef linear_congruential_engine< uint32_t, 48271, 0, 2147483647 > minstd_rand;

描述

特化 minstd_rand

"随机数生成器:好的很难找到",Stephen K. Park 和 Keith W. Miller,《ACM 通讯》,第 31 卷,第 10 期,1988 年 10 月,第 1192-1201 页


PrevUpHomeNext