最終更新日時(UTC):
が更新

履歴 編集

function
<random>

std::weibull_distribution::a(C++11)

RealType a() const;

概要

形状パラメータを取得する。

戻り値

構築時に設定された、形状パラメータを返す。

#include <iostream>
#include <random>

int main()
{
  std::weibull_distribution<> dist(1.0, 1.0);

  double a = dist.a();
  std::cout << a << std::endl;
}

出力

1

バージョン

言語

  • C++11

処理系

参照