Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 761 Bytes

File metadata and controls

51 lines (38 loc) · 761 Bytes

n

  • random[meta header]
  • std[meta namespace]
  • fisher_f_distribution[meta class]
  • function[meta id-type]
  • cpp11[meta cpp]
result_type n() const;

概要

分布の自由度nを取得する。

戻り値

構築時に設定された、分布の自由度nを返す。

#include <iostream>
#include <random>

int main()
{
  std::fisher_f_distribution<> dist(3.0, 4.0);

  double n = dist.n();
  std::cout << n << std::endl;
}
  • n()[color ff0000]

出力

4

バージョン

言語

  • C++11

処理系

参照