32 #ifndef VSMC_RESAMPLE_STRATIFIED_HPP    33 #define VSMC_RESAMPLE_STRATIFIED_HPP    46     template <
typename IntType, 
typename RNGType>
    47     void operator()(std::size_t M, std::size_t N, RNGType &rng,
    48         const double *weight, IntType *replication)
    66 #endif // VSMC_RESAMPLE_STRATIFIED_HPP void operator()(std::size_t M, std::size_t N, RNGType &rng, const double *weight, IntType *replication)
 
void resample_trans_u01_rep(std::size_t M, std::size_t N, const double *weight, U01SeqType &&u01seq, IntType *replication)
Transform uniform [0, 1] sequence into replication numbers. 
 
Generate a fixed length sequence of uniform  random variates by stratified sampling. 
 
Type trait of ResampleScheme parameter.