vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::Resample< internal::ResampleSystematic > Class Template Reference

Systematic resampling. More...

#include <vsmc/resample/systematic.hpp>

Public Member Functions

template<typename IntType , typename RngType >
void operator() (std::size_t M, std::size_t N, RngType &rng, const double *weight, IntType *replication)
 

Detailed Description

template<>
class vsmc::Resample< internal::ResampleSystematic >

Systematic resampling.

Definition at line 49 of file systematic.hpp.

Member Function Documentation

template<typename IntType , typename RngType >
void vsmc::Resample< internal::ResampleSystematic >::operator() ( std::size_t  M,
std::size_t  N,
RngType &  rng,
const double *  weight,
IntType *  replication 
)
inline

Definition at line 54 of file systematic.hpp.