vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::ResampleCopyFromReplicationNoAaction 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, std::size_t, const IntType1 *, IntType2 *) const
 

Detailed Description

Transform replication numbers to parent particle locations.

This one shall be used in place of the default if resampling algorithms output parent locations directly instead of replication number

Definition at line 132 of file common.hpp.

Member Function Documentation

template<typename IntType1 , typename IntType2 >
void vsmc::ResampleCopyFromReplicationNoAaction::operator() ( std::size_t  ,
std::size_t  ,
const IntType1 *  ,
IntType2 *   
) const
inline

Definition at line 137 of file common.hpp.