| 
    pf
    
   | 
 
A class that performs sampling with replacement (useful for the index sampler in an APF) More...
#include <rv_samp.h>


Public Member Functions | |
| k_gen () | |
| default constructor. only one available.  | |
| std::array< unsigned int, N > | sample (const std::array< float_t, N > &logWts) | 
| sample N times from (0,1,...N-1)  More... | |
  Public Member Functions inherited from pf::rvsamp::rvsamp_base | |
| rvsamp_base () | |
| The default constructor. This is the only option available. Sets the seed with the clock.  | |
Additional Inherited Members | |
  Protected Attributes inherited from pf::rvsamp::rvsamp_base | |
| std::mt19937 | m_rng | 
| prng  | |
A class that performs sampling with replacement (useful for the index sampler in an APF)
| std::array< unsigned int, N > pf::rvsamp::k_gen< N, float_t >::sample | ( | const std::array< float_t, N > & | logWts | ) | 
sample N times from (0,1,...N-1)
| logWts | possibly unnormalized type std::array<float_t, N> |