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

#include <distribution.hpp>

Public Member Functions

template<typename LinearProcessGroup >
 block (const LinearProcessGroup &pg, 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 ID >
std::size_t start (ID id) const
 
template<typename SizeType >
SizeType local (SizeType i) const
 
template<typename SizeType >
SizeType global (SizeType i) const
 
template<typename ProcessID , typename SizeType >
SizeType global (ProcessID id, SizeType i) const
 

Constructor & Destructor Documentation

template<typename LinearProcessGroup >
boost::parallel::block::block ( const LinearProcessGroup &  pg,
std::size_t  n 
)
inlineexplicit

Member Function Documentation

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

References start().

template<typename SizeType >
SizeType boost::parallel::block::local ( SizeType  i) const
inline
template<typename SizeType >
SizeType boost::parallel::block::operator() ( SizeType  i) const
inline
template<typename ID >
std::size_t boost::parallel::block::start ( ID  id) const
inline

Referenced by global(), and local().


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