32 #ifndef VSMC_RESAMPLE_RESAMPLE_H 33 #define VSMC_RESAMPLE_RESAMPLE_H 46 size_t n,
size_t m,
const double *weight,
double *resid,
size_t *integ);
50 const double *
u01,
size_t *replication);
54 size_t n,
size_t m,
const size_t *replication,
size_t *index);
58 const double *weight,
size_t *replication);
62 const double *weight,
size_t *replication);
66 const double *weight,
size_t *replication);
70 const double *weight,
size_t *replication);
74 const double *weight,
size_t *replication);
78 const double *weight,
size_t *replication);
86 #endif // VSMC_RESAMPLE_RESAMPLE_H void vsmc_resample_stratified(size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
vsmc::ResampleStratified
void vsmc_resample_trans_u01_rep(size_t n, size_t m, const double *weight, const double *u01, size_t *replication)
vsmc::resample_trans_u01_rep
size_t vsmc_resample_trans_residual(size_t n, size_t m, const double *weight, double *resid, size_t *integ)
vsmc::resample_trans_residual
void vsmc_resample_residual_stratified(size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
vsmc::ResampleResidualStratified
void vsmc_resample_trans_rep_index(size_t n, size_t m, const size_t *replication, size_t *index)
vsmc::resample_trans_rep_index
void vsmc_resample_residual_systematic(size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
vsmc::ResampleSystematic
RealType u01(UIntType u) noexcept
Convert uniform unsigned integers to floating points within [0, 1].
void vsmc_resample_systematic(size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
vsmc::ResampleSystematic
void vsmc_resample_residual(size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
vsmc::ResampleResidual
void vsmc_resample_multinomial(size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
vsmc::ResampleMultinomial