vSMC  v3.0.0
Scalable Monte Carlo
Functions
Resample algorithms

Functions

void vsmc_resample_multinomial (size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
 vsmc::ResampleMultinomial More...
 
void vsmc_resample_residual (size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
 vsmc::ResampleResidual More...
 
void vsmc_resample_residual_stratified (size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
 vsmc::ResampleResidualStratified More...
 
void vsmc_resample_residual_systematic (size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
 vsmc::ResampleSystematic More...
 
void vsmc_resample_stratified (size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
 vsmc::ResampleStratified More...
 
void vsmc_resample_systematic (size_t n, size_t m, vsmc_rng rng, const double *weight, size_t *replication)
 vsmc::ResampleSystematic More...
 
void vsmc_resample_trans_rep_index (size_t n, size_t m, const size_t *replication, size_t *index)
 vsmc::resample_trans_rep_index More...
 
size_t vsmc_resample_trans_residual (size_t n, size_t m, const double *weight, double *resid, size_t *integ)
 vsmc::resample_trans_residual More...
 
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 More...
 

Detailed Description

Function Documentation

void vsmc_resample_multinomial ( size_t  n,
size_t  m,
vsmc_rng  rng,
const double *  weight,
size_t *  replication 
)
void vsmc_resample_residual ( size_t  n,
size_t  m,
vsmc_rng  rng,
const double *  weight,
size_t *  replication 
)
void vsmc_resample_residual_stratified ( size_t  n,
size_t  m,
vsmc_rng  rng,
const double *  weight,
size_t *  replication 
)
void vsmc_resample_residual_systematic ( size_t  n,
size_t  m,
vsmc_rng  rng,
const double *  weight,
size_t *  replication 
)
void vsmc_resample_stratified ( size_t  n,
size_t  m,
vsmc_rng  rng,
const double *  weight,
size_t *  replication 
)
void vsmc_resample_systematic ( size_t  n,
size_t  m,
vsmc_rng  rng,
const double *  weight,
size_t *  replication 
)
void vsmc_resample_trans_rep_index ( size_t  n,
size_t  m,
const size_t *  replication,
size_t *  index 
)
size_t vsmc_resample_trans_residual ( size_t  n,
size_t  m,
const double *  weight,
double *  resid,
size_t *  integ 
)
void vsmc_resample_trans_u01_rep ( size_t  n,
size_t  m,
const double *  weight,
const double *  u01,
size_t *  replication 
)