Class param_type
boost::random::chi_squared_distribution::param_type
Synopsis
class param_type {
public:
typedef chi_squared_distribution distribution_type;
explicit param_type(RealType = 1);
RealType n() const;
template<typename CharT, typename Traits>
friend std::basic_ostream< CharT, Traits > &
operator<<(std::basic_ostream< CharT, Traits > &, const param_type &);
template<typename CharT, typename Traits>
friend std::basic_istream< CharT, Traits > &
operator>>(std::basic_istream< CharT, Traits > &, param_type &);
friend bool operator==(const param_type &, const param_type &);
friend bool operator!=(const param_type &, const param_type &);
};
Description
param_type
public
construct/copy/destruct
explicitparam_type();
Создать объект param_type
.n
Требуется: t>=0 &&0 <= p<= 1
param_type
public member functions
RealType n() const;
Возвращает параметр распределения n
.
param_type
friend functions
template CharT,typenameTraitsBasic_ostream>> >операторBasic_ostream<>constparam_typeПараметры распределения std::ostream
.
template CharT,typenameTraitsstd,CharT> > операторbasic_istream<, >>param_type ;2>Параметры распределения от std::istream
.
friend boolоператорconstparam_type , constparam_type, param_type& rhs;
Вернется верно, если параметры имеют одинаковые значения.
friendboolоператор!=констпарам_тип,констпарам_тип,парам_тип&рхс;
Вернется верно, если параметры имеют разные значения.