Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::random::detail Namespace Reference

Classes

class  backward_compatible_uniform_01
 
struct  binomial_table
 
struct  generator_bits
 
struct  generator_bits< discard_block< URNG, p, r > >
 
struct  generator_bits< discard_block_engine< URNG, p, r > >
 
struct  generator_bits< lagged_fibonacci_01< RealType, w, p, q > >
 
struct  generator_bits< lagged_fibonacci_01_engine< RealType, w, p, q > >
 
struct  generator_bits< subtract_with_carry_01< RealType, w, s, r, v > >
 
struct  generator_bits< subtract_with_carry_01_engine< RealType, w, s, r > >
 
struct  integer_alias_table
 
class  new_uniform_01
 
struct  normal_table
 
struct  poisson_table
 
class  ranlux_documentation
 The ranlux family of generators are described in. More...
 
struct  real_alias_table
 
struct  select_alias_table
 
struct  select_alias_table< false >
 
struct  select_alias_table< true >
 
struct  select_uniform_01
 
struct  select_uniform_01< boost::multiprecision::number< Backend, ExpressionTemplates > >
 
struct  select_uniform_01< double >
 
struct  select_uniform_01< float >
 
struct  select_uniform_01< long double >
 
struct  subtract< boost::multiprecision::number< Backend, ExpressionTemplates >, true >
 
struct  subtract_with_carry_discard
 
struct  unit_normal_distribution
 

Functions

template<class Engine , class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::multiprecision::number
< Backend, ExpressionTemplates > 
generate_uniform_int (Engine &eng, const boost::multiprecision::number< Backend, ExpressionTemplates > &min_value, const boost::multiprecision::number< Backend, ExpressionTemplates > &max_value)
 
template<class Engine , class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::multiprecision::number
< Backend, ExpressionTemplates > 
generate_uniform_int (Engine &eng, const boost::multiprecision::number< Backend, ExpressionTemplates > &min_value, const boost::multiprecision::number< Backend, ExpressionTemplates > &max_value, boost::mpl::true_)
 
template<class Engine , class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::multiprecision::number
< Backend, ExpressionTemplates > 
generate_uniform_real (Engine &eng, const boost::multiprecision::number< Backend, ExpressionTemplates > &min_value, const boost::multiprecision::number< Backend, ExpressionTemplates > &max_value)
 
template<class RealType , std::size_t bits, class URNG >
RealType generate_canonical_impl (URNG &g, boost::mpl::true_)
 
template<class RealType , std::size_t bits, class URNG >
RealType generate_canonical_impl (URNG &g, boost::mpl::false_)
 
template<class Engine >
boost::make_unsigned< typename
Engine::result_type >::type 
generate_one_digit (Engine &eng, std::size_t bits)
 
template<class RealType , std::size_t w, class Engine >
std::pair< RealType, int > generate_int_float_pair (Engine &eng, boost::mpl::true_)
 
template<class RealType , std::size_t w, class Engine >
std::pair< RealType, int > generate_int_float_pair (Engine &eng, boost::mpl::false_)
 
template<class RealType , std::size_t w, class Engine >
std::pair< RealType, int > generate_int_float_pair (Engine &eng)
 
template<class Engine , class T >
T generate_uniform_int (Engine &eng, T min_value, T max_value, boost::mpl::true_)
 
template<class Engine , class T >
T generate_uniform_int (Engine &eng, T min_value, T max_value, boost::mpl::false_)
 
template<class Engine , class T >
T generate_uniform_int (Engine &eng, T min_value, T max_value)
 
template<class Engine , class T >
T generate_uniform_real (Engine &eng, T min_value, T max_value, boost::mpl::false_)
 
template<class Engine , class T >
T generate_uniform_real (Engine &eng, T min_value, T max_value, boost::mpl::true_)
 
template<class Engine , class T >
T generate_uniform_real (Engine &eng, T min_value, T max_value)
 

Function Documentation

template<class RealType , std::size_t bits, class URNG >
RealType boost::random::detail::generate_canonical_impl ( URNG &  g,
boost::mpl::true_   
)
template<class RealType , std::size_t bits, class URNG >
RealType boost::random::detail::generate_canonical_impl ( URNG &  g,
boost::mpl::false_   
)
template<class RealType , std::size_t w, class Engine >
std::pair<RealType, int> boost::random::detail::generate_int_float_pair ( Engine &  eng,
boost::mpl::true_   
)
template<class RealType , std::size_t w, class Engine >
std::pair<RealType, int> boost::random::detail::generate_int_float_pair ( Engine &  eng,
boost::mpl::false_   
)
inline
template<class RealType , std::size_t w, class Engine >
std::pair<RealType, int> boost::random::detail::generate_int_float_pair ( Engine &  eng)
inline
template<class Engine >
boost::make_unsigned<typename Engine::result_type>::type boost::random::detail::generate_one_digit ( Engine &  eng,
std::size_t  bits 
)
inline

References boost::detail::type.

Referenced by generate_int_float_pair().

template<class Engine , class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::multiprecision::number< Backend, ExpressionTemplates > boost::random::detail::generate_uniform_int ( Engine &  eng,
const boost::multiprecision::number< Backend, ExpressionTemplates > &  min_value,
const boost::multiprecision::number< Backend, ExpressionTemplates > &  max_value 
)
inline
template<class Engine , class T >
T boost::random::detail::generate_uniform_int ( Engine &  eng,
T  min_value,
T  max_value,
boost::mpl::true_   
)
template<class Engine , class T >
T boost::random::detail::generate_uniform_int ( Engine &  eng,
T  min_value,
T  max_value,
boost::mpl::false_   
)
inline
template<class Engine , class T >
T boost::random::detail::generate_uniform_int ( Engine &  eng,
T  min_value,
T  max_value 
)
inline
template<class Engine , class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::multiprecision::number<Backend, ExpressionTemplates> boost::random::detail::generate_uniform_int ( Engine &  eng,
const boost::multiprecision::number< Backend, ExpressionTemplates > &  min_value,
const boost::multiprecision::number< Backend, ExpressionTemplates > &  max_value,
boost::mpl::true_   
)
template<class Engine , class T >
T boost::random::detail::generate_uniform_real ( Engine &  eng,
T  min_value,
T  max_value,
boost::mpl::false_   
)
template<class Engine , class T >
T boost::random::detail::generate_uniform_real ( Engine &  eng,
T  min_value,
T  max_value,
boost::mpl::true_   
)
template<class Engine , class T >
T boost::random::detail::generate_uniform_real ( Engine &  eng,
T  min_value,
T  max_value 
)
inline
template<class Engine , class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::multiprecision::number<Backend, ExpressionTemplates> boost::random::detail::generate_uniform_real ( Engine &  eng,
const boost::multiprecision::number< Backend, ExpressionTemplates > &  min_value,
const boost::multiprecision::number< Backend, ExpressionTemplates > &  max_value 
)
inline