vSMC
v3.0.0
Scalable Monte Carlo
|
#include <vsmc/internal/common.hpp>
Go to the source code of this file.
Namespaces | |
vsmc | |
Functions | |
template<typename InputIter , typename OutputIter > | |
OutputIter | vsmc::resample_trans_rep_index (std::size_t N, std::size_t M, InputIter replication, OutputIter index) |
Transform replication numbers into parent indices. More... | |
template<typename InputIter , typename OutputIterR , typename OutputIterI > | |
std::size_t | vsmc::resample_trans_residual (std::size_t N, std::size_t M, InputIter weight, OutputIterR resid, OutputIterI integ) |
Transform normalized weights to normalized residual and integrals,. More... | |
template<typename InputIter , typename OutputIter , typename U01SeqType > | |
OutputIter | vsmc::resample_trans_u01_rep (std::size_t N, std::size_t M, InputIter weight, U01SeqType &&u01seq, OutputIter replication) |
Transform uniform [0, 1) sequence into replication numbers. More... | |