cplusplus
.com
教程
參考
文章
論壇
C++
教程
參考
文章
論壇
參考
C 庫
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
C++11
<cfenv> (fenv.h)
<cfloat> (float.h)
C++11
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
C++11
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
C++11
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
C++11
<ctgmath> (tgmath.h)
<ctime> (time.h)
C++11
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
容器
C++11
<array>
<deque>
C++11
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
C++11
<unordered_map>
C++11
<unordered_set>
<vector>
輸入/輸出
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
多執行緒
C++11
<atomic>
C++11
<condition_variable>
C++11
<future>
C++11
<mutex>
C++11
<thread>
其他
<algorithm>
<bitset>
C++11
<chrono>
C++11
<codecvt>
<complex>
<exception>
<functional>
C++11
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
C++11
<random>
C++11
<ratio>
C++11
<regex>
<stdexcept>
<string>
C++11
<system_error>
C++11
<tuple>
C++11
<type_traits>
C++11
<typeindex>
<typeinfo>
<utility>
<valarray>
<random>
分佈
C++11
伯努利分佈
C++11
二項分佈
C++11
柯西分佈
C++11
卡方分佈
C++11
離散分佈
C++11
指數分佈
C++11
極值分佈
C++11
費雪F分佈
C++11
伽馬分佈
C++11
幾何分佈
C++11
對數正態分佈
C++11
負二項分佈
C++11
正態分佈
C++11
分段常數分佈
C++11
分段線性分佈
C++11
泊松分佈
C++11
學生t分佈
C++11
均勻整數分佈
C++11
均勻實數分佈
C++11
威布林分佈
生成器
C++11
預設隨機引擎
C++11
丟塊引擎
C++11
獨立位元引擎
C++11
knuth_b
C++11
線性同餘引擎
C++11
梅森旋轉引擎
C++11
minstd_rand
C++11
minstd_rand0
C++11
mt19937
C++11
mt19937_64
C++11
隨機裝置
C++11
ranlux24
C++11
ranlux24_base
C++11
ranlux48
C++11
ranlux48_base
C++11
隨機置換引擎
C++11
帶進相減引擎
其他
C++11
generate_canonical
C++11
seed_seq
正態分佈
C++11
normal_distribution::(建構函式)
成員函式
C++11
normal_distribution::max
C++11
normal_distribution::mean
C++11
normal_distribution::min
C++11
normal_distribution::operator()
C++11
normal_distribution::param
C++11
normal_distribution::reset
C++11
normal_distribution::stddev
非成員函式
C++11
operator<<
C++11
operator>>
C++11
關係運算符
參考
<random>
正態分佈
均值
公有成員函式
<random>
std::
normal_distribution
::mean
result_type mean() const;
分佈均值
返回與normal_distribution物件關聯的
均值
(
μ
)引數。
該引數是
正態分佈
的
期望值
。其值與
分佈峰值
的位置一致。
該引數透過其第一個引數在
構造
時設定。
引數
無
返回值
與物件關聯的分佈引數
均值
。
複雜度
常量。
另見
normal_distribution::stddev
標準差
(公有成員函式)
normal_distribution::(建構函式)
構造正態分佈
(公有成員函式)
normal_distribution::param
分佈引數
(公共成員函式)