#include <uniform_real.hpp>
Public Types | |
typedef uniform_real | distribution_type |
Public Member Functions | |
param_type (RealType min_arg=RealType(0.0), RealType max_arg=RealType(1.0)) | |
Constructs the parameters of a uniform_real distribution. More... | |
RealType | a () const |
Returns the minimum value of the distribution. More... | |
RealType | b () const |
Returns the maximum value of the distribution. More... | |
BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR (os, param_type, parm) | |
Writes the parameters to a std::ostream . More... | |
BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR (is, param_type, parm) | |
Reads the parameters from a std::istream . More... | |
BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR (param_type, lhs, rhs) | |
Returns true if the two sets of parameters are equal. More... | |
typedef uniform_real boost::uniform_real< RealType >::param_type::distribution_type |
|
inlineexplicit |
Constructs the parameters of a uniform_real distribution.
Requires: min <= max
|
inlineinherited |
Returns the minimum value of the distribution.
Referenced by boost::random::uniform_real_distribution< RealType >::operator()(), and boost::random::uniform_real_distribution< RealType >::param().
|
inlineinherited |
Returns the maximum value of the distribution.
Referenced by boost::random::uniform_real_distribution< RealType >::operator()(), and boost::random::uniform_real_distribution< RealType >::param().
|
inlineinherited |
Returns true if the two sets of parameters are equal.
|
inlineinherited |
Reads the parameters from a std::istream
.
References boost::regex_constants::failbit.
|
inlineinherited |
Writes the parameters to a std::ostream
.