extreme_value_distribution::param_type
분포의 매개 변수를 저장합니다.
struct param_type { typedef extreme_value_distribution<RealType> distribution_type; param_type(RealType a = 0.0, RealType b = 1.0); RealType a() const; RealType b() const; ..... bool operator==(const param_type& right) const; bool operator!=(const param_type& right) const; };
매개 변수
상위 항목인 extreme_value_distribution 클래스를 참조하세요.
설명
사전 조건: 0.0 < b
이 구조를 인스턴스화 시에는 분포의 클래스 생성자로, 기존 분포의 저장된 매개 변수를 설정하기 위해서는 param() 멤버 함수로, 저장된 매개 변수 대신 사용하기 위해서는 operator()로 전달할 수 있습니다.
요구 사항
헤더: <random>
네임스페이스: std