32 #ifndef VSMC_RESAMPLE_MULTINOMIAL_HPP    33 #define VSMC_RESAMPLE_MULTINOMIAL_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_MULTINOMIAL_HPP 
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. 
 
void operator()(std::size_t M, std::size_t N, RNGType &rng, const double *weight, IntType *replication)
 
Generate a fixed length sequence of uniform  random variates by sorting. 
 
Type trait of ResampleScheme parameter.