다음을 통해 공유


gamma_distribution::param_type

분포의 매개 변수를 저장합니다.

struct param_type {
    typedef gamma_distribution<RealType> distribution_type;
    param_type(result_type alpha0 = result_type(1.0),
        RealType beta0 result_type(1.0));
    RealType alpha() const;
    RealType beta() const;
    bool operator==(const param_type& right) const;
    bool operator!=(const param_type& right) const;
    };

설명

이 매개 변수를 패키지에 전달할 수 있습니다 operator () 의 반환 값을 생성 합니다.

요구 사항

헤더: <random>

네임 스페이스: std

참고 항목

참조

<random>

gamma_distribution Class