Description Usage Arguments Value References See Also
Resample in place to avoid expensive copying of data structures, using a permutation of the ancestry vector.
1 | resampleParticles(log_weights, ampMx, scaleMx, peaks, baselines, n_y, nwl)
|
log_weights |
logarithms of the importance weights of each particle |
ampMx |
|
scaleMx |
|
peaks |
|
baselines |
|
n_y |
number of observations |
nwl |
number of wavenumbers |
Vector of indices to the parents of the resampled particles.
Murray, L.M., Lee, A. & Jacob, P.E. (2015) "Parallel resampling in the particle filter" arXiv:1301.4019v3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.