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

#include <distribution.hpp>

Public Member Functions

template<typename LinearProcessGroup , typename RandomNumberGen >
 random_distribution (const LinearProcessGroup &pg, RandomNumberGen &gen, std::size_t n)
 
template<typename SizeType >
SizeType block_size (SizeType n) const
 
template<typename SizeType , typename ProcessID >
SizeType block_size (ProcessID id, SizeType n) const
 
template<typename SizeType >
SizeType operator() (SizeType i) const
 
template<typename SizeType >
SizeType local (SizeType i) const
 
template<typename ProcessID , typename SizeType >
SizeType global (ProcessID p, SizeType i) const
 
template<typename SizeType >
SizeType global (SizeType i) const
 

Constructor & Destructor Documentation

template<typename LinearProcessGroup , typename RandomNumberGen >
boost::parallel::random_distribution::random_distribution ( const LinearProcessGroup &  pg,
RandomNumberGen &  gen,
std::size_t  n 
)
inline

Member Function Documentation

template<typename SizeType >
SizeType boost::parallel::random_distribution::block_size ( SizeType  n) const
inline
template<typename SizeType , typename ProcessID >
SizeType boost::parallel::random_distribution::block_size ( ProcessID  id,
SizeType  n 
) const
inline
template<typename ProcessID , typename SizeType >
SizeType boost::parallel::random_distribution::global ( ProcessID  p,
SizeType  i 
) const
inline
template<typename SizeType >
SizeType boost::parallel::random_distribution::global ( SizeType  i) const
inline
template<typename SizeType >
SizeType boost::parallel::random_distribution::local ( SizeType  i) const
inline
template<typename SizeType >
SizeType boost::parallel::random_distribution::operator() ( SizeType  i) const
inline

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