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

Stratified resampling. More...

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

Stratified resampling.

Definition at line 43 of file stratified.hpp.

Member Function Documentation

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

Definition at line 47 of file stratified.hpp.