Class param_type
boost::random::normal_distribution::param_type
Synopsis
class param_type {
public:
typedef normal_distribution distribution_type;
explicit param_type(RealType = 0.0, RealType = 1.0);
RealType mean() const;
RealType sigma() 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 > &, const 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
explicit >парам_type(RealType mean = 0.0, RealType sigma = 1>>0>
param_type public member functions
RealType mean() const;
Returns the mean of the distribution.
RealType sigma() const;
Returns the standand variation of the distribution.
param_type friend functions
- > > >>>>2> >>> >> >> >> > >> >>> >>>> >>>>>>>
- >>> >> > > >>> >>> >>> >>> >> >> > >> >
друз bool оператор(const param_type & lhs, const парам_type & rhs;
подруга bool оператор!=(const param_type & lhs, const param_type & rhs;