![]() |
Home | Libraries | People | FAQ | More |
boost::normal_distribution::param_type
// In header: <boost/random/normal_distribution.hpp> class param_type { public: // types typedef ; // public member functions ( = , = ); () ; () ; // friend functions template<typename CharT, typename Traits> (, ); template<typename CharT, typename Traits> (, ); (, ); (, ); };
param_type public member functions( mean = , sigma = );
Constructs a param_type with a given mean and standard deviation.
Requires: sigma >= 0
() ;
Returns the mean of the distribution.
() ;
Returns the standand deviation of the distribution.
param_type friend functionstemplate<typename CharT, typename Traits> ( os, param);
Writes a param_type to a std::ostream.
template<typename CharT, typename Traits> ( is, param);
Reads a param_type from a std::istream.
( lhs, rhs);
Returns true if the two sets of parameters are the same.
( lhs, rhs);
Returns true if the two sets of parameters are the different.