vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::ResampleCopyFromReplication Class Reference

Transform replication numbers to parent particle locations. More...

#include <vsmc/resample/common.hpp>

Public Member Functions

template<typename IntType1 , typename IntType2 >
void operator() (std::size_t M, std::size_t N, const IntType1 *replication, IntType2 *copy_from) const
 

Detailed Description

Transform replication numbers to parent particle locations.

Definition at line 143 of file common.hpp.

Member Function Documentation

template<typename IntType1 , typename IntType2 >
void vsmc::ResampleCopyFromReplication::operator() ( std::size_t  M,
std::size_t  N,
const IntType1 *  replication,
IntType2 *  copy_from 
) const
inline

Definition at line 148 of file common.hpp.