Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::random::beta_distribution< RealType >::param_type Class Reference

#include <beta_distribution.hpp>

Public Types

typedef beta_distribution distribution_type
 

Public Member Functions

 param_type (RealType alpha_arg=RealType(1.0), RealType beta_arg=RealType(1.0))
 Constructs a param_type from the "alpha" and "beta" parameters of the distribution. More...
 
RealType alpha () const
 Returns the "alpha" parameter of the distribtuion. More...
 
RealType beta () const
 Returns the "beta" parameter of the distribution. More...
 
 BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR (os, param_type, parm)
 Writes a param_type to a std::ostream. More...
 
 BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR (is, param_type, parm)
 Reads a param_type from a std::istream. More...
 
 BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR (param_type, lhs, rhs)
 Returns true if the two sets of parameters are the same. More...
 

Member Typedef Documentation

template<class RealType = double>
typedef beta_distribution boost::random::beta_distribution< RealType >::param_type::distribution_type

Constructor & Destructor Documentation

template<class RealType = double>
boost::random::beta_distribution< RealType >::param_type::param_type ( RealType  alpha_arg = RealType(1.0),
RealType  beta_arg = RealType(1.0) 
)
inlineexplicit

Constructs a param_type from the "alpha" and "beta" parameters of the distribution.

Requires: alpha > 0, beta > 0

Referenced by boost::random::beta_distribution< RealType >::param().

Member Function Documentation

template<class RealType = double>
RealType boost::random::beta_distribution< RealType >::param_type::alpha ( ) const
inline

Returns the "alpha" parameter of the distribtuion.

Referenced by boost::random::beta_distribution< RealType >::param().

template<class RealType = double>
RealType boost::random::beta_distribution< RealType >::param_type::beta ( ) const
inline

Returns the "beta" parameter of the distribution.

Referenced by boost::random::beta_distribution< RealType >::param().

template<class RealType = double>
boost::random::beta_distribution< RealType >::param_type::BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR ( param_type  ,
lhs  ,
rhs   
)
inline

Returns true if the two sets of parameters are the same.

template<class RealType = double>
boost::random::beta_distribution< RealType >::param_type::BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR ( is  ,
param_type  ,
parm   
)
inline

Reads a param_type from a std::istream.

template<class RealType = double>
boost::random::beta_distribution< RealType >::param_type::BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR ( os  ,
param_type  ,
parm   
)
inline

Writes a param_type to a std::ostream.


The documentation for this class was generated from the following file: