生成Fisher F分布。
template<class RealType = double>
class fisher_f_distribution {
public:
typedef RealType result_type;
struct param_type;
explicit fisher_f_distribution(RealType m0 = 1,
RealType n0 = 1);
explicit fisher_f_distribution(const param_type& par0);
RealType m() const;
RealType n() const;
param_type param() const;
void param(const param_type& par0);
result_type min() const;
result_type max() const;
void reset();
template<class Engine>
result_type operator()(Engine& eng);
template<class Engine>
result_type operator()(Engine& eng,
const param_type& par0);
private:
RealType stored_m;
RealType stored_n;
};
参数
Parameter |
说明 |
---|---|
RealType |
浮点结果类型。 |
备注
生成一个用户指定的浮点类型的值随Fisher F分发的此模板选件类描述 分发。
要求
标头: <random>
命名空间: std
请参见
参考
fisher_f_distribution::fisher_f_distribution