#include <uniform_smallint.hpp>
Public Types | |
typedef uniform_smallint | distribution_type |
Public Member Functions | |
param_type (IntType min_arg=0, IntType max_arg=9) | |
constructs the parameters of a uniform_smallint distribution. More... | |
IntType | a () const |
Returns the minimum value. More... | |
IntType | b () const |
Returns the maximum value. 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_smallint boost::random::uniform_smallint< IntType >::param_type::distribution_type |
|
inline |
constructs the parameters of a uniform_smallint
distribution.
References BOOST_ASSERT.
Referenced by boost::random::uniform_smallint< IntType >::param().
|
inline |
Returns the minimum value.
Referenced by boost::random::uniform_smallint< IntType >::param().
|
inline |
Returns the maximum value.
Referenced by boost::random::uniform_smallint< IntType >::param().
|
inline |
Returns true if the two sets of parameters are equal.
|
inline |
Reads the parameters from a std::istream
.
|
inline |
Writes the parameters to a std::ostream
.