EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::resamplers Namespace Reference

The resamplers, each made by its factory (decisions.md [policy-factories]): multinomial(), stratified(), systematic(), and residual(). More...

Classes

struct  Multinomial
 Draws each ancestor independently. More...
struct  Stratified
 Draws one uniform in each of M equal strata of [0, 1). More...
struct  Systematic
 Uses one uniform offset for M evenly spaced positions in [0, 1). More...
struct  Residual
 Chooses index i floor( \( M w_i / \sum w \)) times deterministically, then draws the remainder with Inner from the fractional parts. More...

Functions

constexpr Multinomial multinomial ()
constexpr Stratified stratified ()
constexpr Systematic systematic ()
template<typename Inner = Multinomial>
constexpr Residual< Inner > residual (Inner inner={})

Detailed Description

The resamplers, each made by its factory (decisions.md [policy-factories]): multinomial(), stratified(), systematic(), and residual().

The types beside them name a resampler where a type is needed.