vSMC
vSMC: Scalable Monte Carlo
|
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) |
Stratified resampling.
Definition at line 43 of file stratified.hpp.
|
inline |
Definition at line 47 of file stratified.hpp.