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

Residual resampling. More...

#include <vsmc/resample/residual.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

Residual resampling.

Definition at line 43 of file residual.hpp.

Member Function Documentation

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

Definition at line 47 of file residual.hpp.