Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > > Class Template Reference

#include <random.hpp>

Public Types

typedef Engine base_type
 
typedef
boost::multiprecision::number
< Backend, ExpressionTemplates > 
result_type
 

Public Member Functions

 independent_bits_engine ()
 
 BOOST_RANDOM_DETAIL_ARITHMETIC_CONSTRUCTOR (independent_bits_engine, result_type, seed_arg)
 
 BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR (independent_bits_engine, SeedSeq, seq)
 
 independent_bits_engine (const base_type &base_arg)
 
template<class It >
 independent_bits_engine (It &first, It last)
 
void seed ()
 
 BOOST_RANDOM_DETAIL_ARITHMETIC_SEED (independent_bits_engine, result_type, seed_arg)
 
 BOOST_RANDOM_DETAIL_SEED_SEQ_SEED (independent_bits_engine, SeedSeq, seq)
 
template<class It >
void seed (It &first, It last)
 
result_type operator() ()
 
template<class Iter >
void generate (Iter first, Iter last)
 Fills a range with random values. More...
 
void discard (boost::uintmax_t z)
 Advances the state of the generator by z. More...
 
const base_typebase () const
 
 BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR (os, independent_bits_engine, r)
 Writes the textual representation if the generator to a std::ostream. More...
 
 BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR (is, independent_bits_engine, r)
 Reads the state of an independent_bits_engine from a std::istream. More...
 
 BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR (independent_bits_engine, x, y)
 Returns: true iff the two independent_bits_engines will produce the same sequence of values. More...
 

Static Public Member Functions

static result_type min BOOST_PREVENT_MACRO_SUBSTITUTION ()
 
static result_type max BOOST_PREVENT_MACRO_SUBSTITUTION ()
 

Member Typedef Documentation

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
typedef Engine boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::base_type
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
typedef boost::multiprecision::number<Backend, ExpressionTemplates> boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::result_type

Constructor & Destructor Documentation

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::independent_bits_engine ( )
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::independent_bits_engine ( const base_type base_arg)
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
template<class It >
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::independent_bits_engine ( It &  first,
It  last 
)
inline

Member Function Documentation

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
const base_type& boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::base ( ) const
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
static result_type min boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_PREVENT_MACRO_SUBSTITUTION ( )
inlinestatic
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
static result_type max boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_PREVENT_MACRO_SUBSTITUTION ( )
inlinestatic
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_RANDOM_DETAIL_ARITHMETIC_CONSTRUCTOR ( independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >  ,
result_type  ,
seed_arg   
)
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_RANDOM_DETAIL_ARITHMETIC_SEED ( independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >  ,
result_type  ,
seed_arg   
)
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR ( independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >  ,
,
 
)
inline

Returns: true iff the two independent_bits_engines will produce the same sequence of values.

References boost::flyweights::x, and boost::polygon::y().

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR ( is  ,
independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >  ,
 
)
inline

Reads the state of an independent_bits_engine from a std::istream.

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR ( os  ,
independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >  ,
 
)
inline

Writes the textual representation if the generator to a std::ostream.

The textual representation of the engine is the textual representation of the base engine.

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR ( independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >  ,
SeedSeq  ,
seq   
)
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::BOOST_RANDOM_DETAIL_SEED_SEQ_SEED ( independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >  ,
SeedSeq  ,
seq   
)
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
void boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::discard ( boost::uintmax_t  z)
inline

Advances the state of the generator by z.

References boost::multiprecision::backends::i.

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
template<class Iter >
void boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::generate ( Iter  first,
Iter  last 
)
inline

Fills a range with random values.

template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
result_type boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::operator() ( )
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
void boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::seed ( )
inline
template<class Engine , std::size_t w, class Backend , boost::multiprecision::expression_template_option ExpressionTemplates>
template<class It >
void boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::seed ( It &  first,
It  last 
)
inline

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