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

#include <distribution.hpp>

Public Member Functions

template<typename LinearProcessGroup , typename RandomNumberGen >
 twod_random (const LinearProcessGroup &pg, std::size_t block_rows, std::size_t block_columns, std::size_t data_columns_per_row, std::size_t n, RandomNumberGen &gen)
 
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
 

Constructor & Destructor Documentation

template<typename LinearProcessGroup , typename RandomNumberGen >
boost::parallel::twod_random::twod_random ( const LinearProcessGroup &  pg,
std::size_t  block_rows,
std::size_t  block_columns,
std::size_t  data_columns_per_row,
std::size_t  n,
RandomNumberGen &  gen 
)
inlineexplicit

Member Function Documentation

template<typename SizeType >
SizeType boost::parallel::twod_random::block_size ( SizeType  n) const
inline
template<typename SizeType , typename ProcessID >
SizeType boost::parallel::twod_random::block_size ( ProcessID  id,
SizeType  n 
) const
inline

References local(), and boost::n.

template<typename SizeType >
SizeType boost::parallel::twod_random::local ( SizeType  i) const
inline

Referenced by block_size().

template<typename SizeType >
SizeType boost::parallel::twod_random::operator() ( SizeType  i) const
inline

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