![]() |
Home | Libraries | People | FAQ | More |
boost::random::beta_distribution::param_type
// In header: <boost/random/beta_distribution.hpp> class param_type { public: // types typedef beta_distribution ; // construct/copy/destruct (RealType = , RealType = ); // public member functions RealType () ; RealType () ; // friend functions template<typename CharT, typename Traits> CharT, Traits > & (CharT, Traits > &, const param_type &); template<typename CharT, typename Traits> CharT, Traits > & (CharT, Traits > &, const param_type &); bool (const param_type &, const param_type &); bool (const param_type &, const param_type &); };
param_type
public
construct/copy/destruct(RealType alpha = , RealType beta = );
Constructs a
from the "alpha" and "beta" parameters of the distribution.param_type
Requires: alpha > 0, beta > 0
param_type
friend functionstemplate<typename CharT, typename Traits> CharT, Traits > & (CharT, Traits > & os, const param_type & param);
Writes a
to a param_type
std::ostream
.
template<typename CharT, typename Traits> CharT, Traits > & (CharT, Traits > & is, const param_type & param);
Reads a
from a param_type
std::istream
.
bool (const param_type & lhs, const param_type & rhs);
Returns true if the two sets of parameters are the same.
bool (const param_type & lhs, const param_type & rhs);
Returns true if the two sets of parameters are the different.