112 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af06ce255de5dbb2313f52ee51f82ba3d"></a><!-- doxytag: member="bdm::eEmp::resample" ref="af06ce255de5dbb2313f52ee51f82ba3d" args="(RESAMPLING_METHOD method=SYSTEMATIC)" --> |
113 | | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#af06ce255de5dbb2313f52ee51f82ba3d">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> |
114 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Function performs resampling, i.e. removal of low-weight samples and duplication of high-weight samples such that the new samples represent the same density. <br/></td></tr> |
| 115 | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#af59ed50888a31057ac2038d80f607d3d">resample</a> (ivec &index, RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> |
| 116 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4a150d0a62c08db76d1bc5256909f93"></a><!-- doxytag: member="bdm::eEmp::resample" ref="ab4a150d0a62c08db76d1bc5256909f93" args="(RESAMPLING_METHOD method=SYSTEMATIC)" --> |
| 117 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ab4a150d0a62c08db76d1bc5256909f93">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> |
| 118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Resampling without returning index of new particles. <br/></td></tr> |
241 | | <p>Reimplemented in <a class="el" href="classbdm_1_1mexEpdf.html#af371482ea8d21c8ac01f011b3d942298">bdm::mexEpdf</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< sq_T ></a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< ldmat ></a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< chmat ></a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< fsqmat ></a>.</p> |
| 245 | <p>Reimplemented in <a class="el" href="classbdm_1_1mexEpdf.html#af371482ea8d21c8ac01f011b3d942298">bdm::mexEpdf</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< sq_T ></a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1eDirich.html#aaef2c328917dd80dce689d3d11d09567">bdm::eDirich</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< ldmat ></a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< chmat ></a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< fsqmat ></a>.</p> |
| 248 | |
| 249 | </div> |
| 250 | </div> |
| 251 | <a class="anchor" id="af59ed50888a31057ac2038d80f607d3d"></a><!-- doxytag: member="bdm::eEmp::resample" ref="af59ed50888a31057ac2038d80f607d3d" args="(ivec &index, RESAMPLING_METHOD method=SYSTEMATIC)" --> |
| 252 | <div class="memitem"> |
| 253 | <div class="memproto"> |
| 254 | <table class="memname"> |
| 255 | <tr> |
| 256 | <td class="memname">void bdm::eEmp::resample </td> |
| 257 | <td>(</td> |
| 258 | <td class="paramtype">ivec & </td> |
| 259 | <td class="paramname"> <em>index</em>, </td> |
| 260 | </tr> |
| 261 | <tr> |
| 262 | <td class="paramkey"></td> |
| 263 | <td></td> |
| 264 | <td class="paramtype">RESAMPLING_METHOD </td> |
| 265 | <td class="paramname"> <em>method</em> = <code>SYSTEMATIC</code></td><td> </td> |
| 266 | </tr> |
| 267 | <tr> |
| 268 | <td></td> |
| 269 | <td>)</td> |
| 270 | <td></td><td></td><td></td> |
| 271 | </tr> |
| 272 | </table> |
| 273 | </div> |
| 274 | <div class="memdoc"> |
| 275 | <p>Function performs resampling, i.e. removal of low-weight samples and duplication of high-weight samples such that the new samples represent the same density. The vector with indeces of new samples is returned in variable <code>index</code>. </p> |
| 276 | |
| 277 | <p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>, <a class="el" href="exp__family_8h_source.html#l01224">n</a>, <a class="el" href="exp__family_8h_source.html#l01228">samples</a>, and <a class="el" href="exp__family_8h_source.html#l01226">w</a>.</p> |
| 278 | |
| 279 | <p>Referenced by <a class="el" href="particles_8cpp_source.html#l00037">bdm::PF::bayes()</a>, and <a class="el" href="particles_8h_source.html#l00189">bdm::PF::resample()</a>.</p> |