<random>

公有成員函式 (public member function)
<random>

std::chi_squared_distribution::n

result_type n() const;
自由度 (Degrees of freedom)
返回與 卡方分佈 物件關聯的引數 n

此引數稱為 卡方分佈自由度

引數 n構造時 設定。

引數



返回值

與分佈物件關聯的 n 引數(自由度)。

複雜度

常量。

另見