公有成員函式
<random>

std::normal_distribution::stddev

result_type stddev() const;
標準差
返回與 normal_distribution 物件相關的標準差 (σ)。

此引數是分佈方差的平方根,表示引數與 均值 (μ) 的離散程度。

此引數在 構造 時透過其第二個引數進行設定。

引數



返回值

與物件關聯的分佈引數stddev(即其標準差)。

複雜度

常量。

另見