分布パラメーターを格納します。
struct param_type {
typedef lognormal_distribution<RealType> distribution_type;
param_type(result_type m0 = result_type(0.0),
result_type s0 = result_type(1.0));
result_type m() const;
result_type s() const;
bool operator==(const param_type& right) const;
bool operator!=(const param_type& right) const;
};
解説
このパラメーター パッケージを operator() に渡して、戻り値を生成できます。
必要条件
ヘッダー : <random>
名前空間: std