Condividi tramite


fisher_f_distribution Class

Generates a Fisher F distribution.

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;
    };

Parameters

Parameter

Description

RealType

The floating-point result type.

Remarks

This template class describes a distribution that produces values of a user-specified floating-point type distributed with a Fisher F distribution.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

fisher_f_distribution Class

fisher_f_distribution::fisher_f_distribution

fisher_f_distribution::operator()

fisher_f_distribution::param

fisher_f_distribution::param_type

Other Resources

<random> Members