vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::internal::ParallelCopyParticle< T, IntType > Class Template Reference

#include <vsmc/smp/internal/parallel_work.hpp>

Public Member Functions

 ParallelCopyParticle (T *state, const IntType *copy_from)
 
template<typename SizeType >
cxx11::enable_if< cxx11::is_integral< SizeType >::value >::type operator() (SizeType id) const
 
template<typename RangeType >
cxx11::enable_if<!cxx11::is_integral< RangeType >::value >::type operator() (const RangeType &range) const
 

Detailed Description

template<typename T, typename IntType>
class vsmc::internal::ParallelCopyParticle< T, IntType >

Definition at line 51 of file parallel_work.hpp.

Constructor & Destructor Documentation

template<typename T , typename IntType >
vsmc::internal::ParallelCopyParticle< T, IntType >::ParallelCopyParticle ( T *  state,
const IntType *  copy_from 
)
inline

Definition at line 55 of file parallel_work.hpp.

Member Function Documentation

template<typename T , typename IntType >
template<typename SizeType >
cxx11::enable_if<cxx11::is_integral<SizeType>::value>::type vsmc::internal::ParallelCopyParticle< T, IntType >::operator() ( SizeType  id) const
inline

Definition at line 60 of file parallel_work.hpp.

template<typename T , typename IntType >
template<typename RangeType >
cxx11::enable_if<!cxx11::is_integral<RangeType>::value>::type vsmc::internal::ParallelCopyParticle< T, IntType >::operator() ( const RangeType &  range) const
inline

Definition at line 71 of file parallel_work.hpp.