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

履歴 編集

function
<random>

std::lognormal_distribution::s(C++11)

result_type s() const;

概要

分布の標準偏差を取得する。

戻り値

構築時に設定された、分布の標準偏差を返す。

#include <iostream>
#include <random>

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

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

出力

1

バージョン

言語

  • C++11

処理系

参照